Re: [Touch-packages] [Bug 1575644] Re: resolvconf doesn't create the correct /etc/resolv.conf file when static IP addresses are used

2016-04-28 Thread msp3k
*** This bug is a duplicate of bug 1003842 *** https://bugs.launchpad.net/bugs/1003842 I reformatted over 14.04 and installed 16.04 as a fresh start. I use a slightly customized server install ISO image that includes my own preseed file for automation. My approach is to start with a

[Touch-packages] [Bug 1575644] Re: resolvconf doesn't create the correct /etc/resolv.conf file when static IP addresses are used

2016-04-28 Thread Thomas Hood
*** This bug is a duplicate of bug 1003842 *** https://bugs.launchpad.net/bugs/1003842 What remains unexplained is why the dnsmasq package was installed on your machine at all. Is it the case that dnsmasq was not installed before the upgrade and it was installed after the upgrade? In that

[Touch-packages] [Bug 1575644] Re: resolvconf doesn't create the correct /etc/resolv.conf file when static IP addresses are used

2016-04-27 Thread Thomas Hood
*** This bug is a duplicate of bug 1003842 *** https://bugs.launchpad.net/bugs/1003842 ** This bug has been marked a duplicate of bug 1003842 dnsmasq sometimes fails to resolve private names in networks with non-equivalent nameservers ** Package changed: resolvconf (Ubuntu) => dnsmasq

Re: [Touch-packages] [Bug 1575644] Re: resolvconf doesn't create the correct /etc/resolv.conf file when static IP addresses are used

2016-04-27 Thread msp3k
I'll give it a go and see if any problems occur. Thanks for your help! Michael On 04/27/2016 03:21 PM, Thomas Hood wrote: > That name service does not work properly when dnsmasq is installed is > most probably due to bug #1003842. If that is the case then if you > remove 8.8.8.8 from the list

[Touch-packages] [Bug 1575644] Re: resolvconf doesn't create the correct /etc/resolv.conf file when static IP addresses are used

2016-04-27 Thread Thomas Hood
That name service does not work properly when dnsmasq is installed is most probably due to bug #1003842. If that is the case then if you remove 8.8.8.8 from the list of nameserver addresses then name service will work reliably. -- You received this bug notification because you are a member of

Re: [Touch-packages] [Bug 1575644] Re: resolvconf doesn't create the correct /etc/resolv.conf file when static IP addresses are used

2016-04-27 Thread msp3k
No, it does not work when dnsmasq is installed. At least, not reliably. I discovered this when apache2 started ignoring the configuration for my virtual hosts because it couldn't resolve the virtual host names. I could reach some hosts, like archive.ubuntu.com for instance whenever I did an

Re: [Touch-packages] [Bug 1575644] Re: resolvconf doesn't create the correct /etc/resolv.conf file when static IP addresses are used

2016-04-27 Thread msp3k
Ah, I understand now. Sorry. Michael On 04/27/2016 12:42 PM, Thomas Hood wrote: > The answer to the question "shouldn't those DNS servers should be > included in /etc/resolv.conf regardless of the presence of dnsmasq?" is > "no". Resolvconf doesn't list any nameserver addresses after any >

[Touch-packages] [Bug 1575644] Re: resolvconf doesn't create the correct /etc/resolv.conf file when static IP addresses are used

2016-04-27 Thread Thomas Hood
Everything looks correct. Does name service work both when dnsmasq is installed and when it is not installed? If so then there is no problem. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to resolvconf in Ubuntu.

Re: [Touch-packages] [Bug 1575644] Re: resolvconf doesn't create the correct /etc/resolv.conf file when static IP addresses are used

2016-04-27 Thread msp3k
Maybe I'm just confused about how resolvconf and dnsmasq should work, but here's how it's working on my new 16.04 system: root@ecoli:~# dpkg -l | grep dnsmasq ii dnsmasq 2.75-1 all Small caching DNS proxy and DHCP/TFTP server ii dnsmasq-base 2.75-1

[Touch-packages] [Bug 1575644] Re: resolvconf doesn't create the correct /etc/resolv.conf file when static IP addresses are used

2016-04-27 Thread Thomas Hood
If you install the dnsmasq package then that package starts a standalone instance of the dnsmasq program and resolv.conf will contain a line `nameserver 127.0.0.1` which tells the resolver to consult that instance of the dnsmasq program, which will by default forward DNS queries to the nameservers

Re: [Touch-packages] [Bug 1575644] Re: resolvconf doesn't create the correct /etc/resolv.conf file when static IP addresses are used

2016-04-27 Thread msp3k
They are specified in /etc/network/interfaces just as you instructed, and the dnsmasq-base package is installed. But when dnsmasq is installed then resolvconf generates an incorrect /etc/resolv.conf. If I remove the dnsmasq package then resolvconf works properly and generates the expected

[Touch-packages] [Bug 1575644] Re: resolvconf doesn't create the correct /etc/resolv.conf file when static IP addresses are used

2016-04-27 Thread Thomas Hood
Not dnsmasq but dnsmasq-base is pulled in by ubuntu-desktop. If you define your interfaces statically using /etc/network/interfaces then you have to add the nameserver information to /etc/network/interfaces on lines like "dns-nameserver 1.2.3.4". See resolvconf(8) for more info. ** Changed in: