Hi,
after few hour searching and testing i found very strange behaviour of reslofconf command.
If you dont change hostname (raspi-config) dns-namservers attribute in /etc/network/interface wouldnt be implemented in /etc/resolv.conf file (very, very strange logic) . Some information about that is written in /etc/resolveconf.conf , and if you put info about DNS in that file it will be implemented in resolv.conf without changing hostname.
Everything that is probably change in few last release of wheezy distribution. My old installation work without that normally.
Regards,
Dubravko
-
- Posts: 5
- Joined: Tue Dec 15, 2015 6:31 pm
Re: resolv.conf
Hi Dubravko,
I've noticed this change in behaviour too. It doesn't seem to be an issue if you're using DHCP (and dhcpcd), but for me, I only use that when I'm setting up a new Pi.
For static IP addressed hosts, the most reliable way seems to be to add an interface specific entry into /etc/network/interfaces.
This suits me as I use virtual interfaces, so I can set my "internal only" IP to use my internal DNS server, and the "normal" IP to query public DNS servers (eg. google)
Regards
Simon
I've noticed this change in behaviour too. It doesn't seem to be an issue if you're using DHCP (and dhcpcd), but for me, I only use that when I'm setting up a new Pi.
For static IP addressed hosts, the most reliable way seems to be to add an interface specific entry into /etc/network/interfaces.
This suits me as I use virtual interfaces, so I can set my "internal only" IP to use my internal DNS server, and the "normal" IP to query public DNS servers (eg. google)
Regards
Simon