Click to See Complete Forum and Search --> : DNS


SecondEscapee
08-22-2001, 01:03 PM
Can some offer some real time input into how I go about setting up DNS on redhat 7?
:(

Evil Jeff
08-22-2001, 01:41 PM
There are several ways. The easiest would be to run linuxconf (I think in rh 7 it might be linuxconf-auth) and change the settings under networking>client tasks. I think rh also has the netconf or netconfig scripts. You can also manually input your dns like (using eth0 as an example interface)

ifconfig eth0 255.255.255.255 up

That I think should do it. If I'm wrong, someone let me know.

optimised
08-22-2001, 03:06 PM
I am also new to linux and would like to set up my own primary dns server.

I have registered my ns1.domain.com with
net solutions using my ip.
Do I add this to my hosts file.
Right now all thats in there is localhost.
Should I add 205.x.x.x ns1.domain.com to my hosts file to begin with?
Does my server name have to be the same as my hostname ns1.mydomain.com

thkx