View Single Post

   
  #19 (permalink)  
Old 02-21-2008, 12:20 PM
J.O. Aho
 
Posts: n/a
Default Re: Domain name resolver is not working

On Mon, 7 Jan 2008, Mark Hobley wrote:

> I am trying to configure the network on my Gentoo machine. The
> /etc/conf.d/net file contains the following entries:
>
> config_eth0=( "10.0.0.13 netmask 255.255.255.0 brd 10.255.255.255" )
> routes_eth0=( "default via 10.0.0.1" )
> dns_servers_eth0="62.31.144.39 195.188.53.175 62.31.112.39"


See what happens if you change the broadcast address to 10.0.0.255 as it
should be.


> I now try to test the networking:
>
> ping 10.0.0.1
> 64 bytes from 10.0.0.1: icmp_seq=1 ttl=250 time=0.567 ms
>
> cat /etc/resolv.conf
> nameserver 62.31.144.39
> nameserver 195.188.53.175
> nameserver 62.31.112.39
>
> Ok, the scripts must have created that.


Thats created as you defined the DNS in your net config file.
I prefer to install a DNS on the gateway, set it to use dnscache (default
on bind/named), all internal machinese I set to use the gateway and only
on the gateway have external DNS:es in the resolve.conf.

Could be that you timeout on the external connections and therefore don't
manage to resolve the names. Also your gateway may have been to configured
to prevent more machines to get net access than the original amount of
machines on your network.


--
//Aho
Reply With Quote