Markku Kolkka wrote:
adam stokes kirjoitti viestissään (lähetysaika maanantai, 5. heinäkuuta 2004 23:36):
ok once i added the correct dns stuff in my /etc/resolv.conf
file it was able to resolve url's rather than by ip.. so im
guessing setting the correct dns info. in all workstations in
their resolv.conf file is the correct way to resolve ip's
outside of the network? using the setup i have of course
If the workstations get their network information by DHCP, you should put the DNS info in dhcpd.conf.
this is my dhcpd.conf
subnet 192.168.1.0 netmask 255.255.255.0 { option routers 192.168.1.100; option subnet-mask 255.255.255.0;
option domain-name "nc.rr.com"; option domain-name-servers 24.25.4.109;
option time-offset -18000;
host server1 { option host-name "server1.servbox.com"; hardware ethernet 00:08:A1:73:E8:44; fixed-address 192.168.1.100; }
host flea { option host-name "flea.servbox.com"; hardware ethernet 00:60:08:C7:84:69; fixed-address 192.168.1.10; }
}
for the dns stuff i just put in what i saw from the dhclient script for the eth0 interface whichs handles the outside connection