[Voyage-linux] Correct way to get persistant nameserver info across reboots
ka1ifq, Mike
(spam-protected)
Wed Dec 14 14:40:27 HKT 2011
Here is the final draft that is working, in case anybody else needs the
info.
I had dns-nameserver = xxx.xxx.xxx.xxx instead of dns-nameservers
xxx.xxx.xxx.xxx
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-nameservers 68.94.156.1
dns-nameservers 68.94.157.1
On 12/13/2011 1:23 AM, ka1ifq wrote:
>
> Thanks, I did get it working, someone sent a direct email and I
> noticed the difference, not sure where I read and got the original info.
>
> Again, thanks to those who replied, working wonderfull.
>
> Mike.
>
> On 12/12/2011 04:13 PM, Adrian Reyer wrote:
>> 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
>
More information about the Voyage-linux
mailing list