[Voyage-linux] Correct way to get persistant nameserver info across reboots

Adrian Reyer (spam-protected)
Tue Dec 13 05:13:00 HKT 2011


On Mon, Dec 12, 2011 at 12:37:06PM -0500, ka1ifq, Mike wrote:
> This is what is in my 'interfaces' file for Eth0
> auto eth0
> iface eth0 inet static
>         address 10.128.128.222
>         netmask 255.255.255.0
> #       network 10.128.128.0
>         gateway 10.128.128.1
> #       dns-nameserver = 68.94.156.1
>         dns-nameserver = 68.94.157.1
> I do not get name resolution, this should work from what I have read.

afaik 'dns-nameserver =' is incorrect.
Try
dns-nameservers 68.94.156.1 68.94.157.1
instead. This works on multiple installations here.
It will only work if you have the 'resolvconf' package installed.
And the nameservers need to answer your queries, most should prevent
queries not from their own networks that are not for the domains tehy
serve themselves nowadays. However, the 2 mentioned ones answer, so this
should not be an issue.
If you have firewall rules enabled, make sure port 53/udp is available.

Regards,
	Adrian
-- 
LiHAS - Adrian Reyer - Hessenwiesenstraße 10 - D-70565 Stuttgart
Fon: +49 (7 11) 78 28 50 90 - Fax:  +49 (7 11) 78 28 50 91
Mail: lihas at lihas.de - Web: http://lihas.de
Linux, Netzwerke, Consulting & Support - USt-ID: DE 227 816 626 Stuttgart




More information about the Voyage-linux mailing list