Quote:
Originally posted by virii1
[Slackware v10]
Right now, my internet connection (in Windows) is working fine. Assume my IP info right now is:
IP: 192.168.1.100
Subnet: 255.255.255.0
Gateway: 192.16.1.1
Primary DNS: 200.200.200.200
Secondary DNS: 200.200.200.201
How do I use netconfig to enter in all this info? I only see the ability to enter my IP, subnet, and gateway. I need both my primary and secondary DNS server's IP's to connect to the Internet. I'm not using DHCP, static ONLY. Also, what criteria do I need to put in for the HOSTNAME and DOMAIN? Can someone give examples?
I've tried to edit the /etc/rc.d/rc.inet1.conf file, but there's no place to put my DNS info in.
|
***************************************************
hi ,
for the dns entries use the file /etc/resolv.conf and give your dns server like e.g.
nameserver 192.168.0.254 ;whatever it may be (primary dns)
nameserver 192.168.0.253 ;secondary and so on
again change the order in the /etc/hosts.conf to change the order of the name resolution e.g.
order bind,hosts
for adding the hostname use the file /etc/sysconfig/networking/
hope it will work
note the above is for the Red Hat Linux.
Thanks
