Soren Hansen wrote: > I thought it was obvious that, as you pointed out that your nameserver > at 192.168.1.1 doesn't work, the fix would be to set up your dhcp server > to point to a DNS server that actually exists and works. If fail to see > how a nameserver you say doesn't work magically works under Windows, > though. >
192.168.1.1 is a router as a gateway. It acts as a DHCP server. The nameserver understood by ubuntu from the DHCP reply is 192.168.1.1 (I am not sure if that is the same for Windows, I'll check it though). However, name lookup in Ubuntu doesn't work when using that nameserver (it complains that the answer came from a different nameserver that the one that was asked, I tested it with 'host' and 'dig'). All this works in Windows (either Windows understands better the DHCP reply or it doesn't care that the reply comes from a different nameserver, I cannot test this right now because I don't have my machine in front of me). >>>> I prevented /etc/resolv.conf from being overwritten by modifying >>>> /etc/dhcp3/dhclient.conf >>> Yes, that will not help. Network-manager takes care of editing your >>> resolv.conf, *UNLESS* you have the resolvconf package installed. >>> Could you try that? >> The solution in my second comment works. So it seems to be a problem >> of "dhclient". Perhaps a recent update broke dhclient-script handling >> of dhclient.conf settings. > > Do you have the resolvconf package installed? > No, I don't. What it is going to solve? I will have to provide the nameservers manually as well in /etc/resolvconf/resolv.conf.d/head. That doesn't solve the problem that Windows can handle this automatically. Neither it solves the issue that settings in /etc/dhcp3/dhclient.conf are ignored by NetworkManager or /sbin/dhclient-script. I am not the only one hitting this wall: https://answers.launchpad.net/ubuntu/+ticket/2248 http://ubuntuforums.org/showthread.php?t=326050 http://www.ubuntuforums.org/showthread.php?t=241576 http://www.ubuntuforums.org/showthread.php?t=307758 http://www.ubuntuforums.org/showthread.php?t=305275 http://ubuntuforums.org/showthread.php?t=383670 (Given the above, I am sure this bug is a duplicate of something.) -- resolv.conf overwritten no matter what I do https://launchpad.net/bugs/92761 -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
