PDA

View Full Version : dns server setup


vinodadhikary
22nd March 2008, 11:14 PM
Hi,

My Service Provider tells me that

We do not provide any control panel access to your DNS records, so all record updates must be sent in a support request. Most of our users simply run their own DNS servers. We handle reverse DNS for all of our IP addresses. If you require the reverse DNS to change for any of your IP addresses, simply submit a support request with the PTR record(s) requested.

What I want to do is setup my own DNS server and define my own name servers. Prompt help is highly appreciated because I am almost done with the server setup and I want to start testing.

Thank you,
Vinod

jnvilo
22nd March 2008, 11:30 PM
If you just want to test, then just add your IP/Domain to your test machine's host file.

Something like:

xxx.xxx.xxx.xxx www.mydomain.com

where xxx.xxx.xxx.xxx is your server IP.


Otherwise setting up a DNS is not too hard,It's quiet simple:

as root

yum -y install bind bind-utils
chkconfig --level 345 named on

and then you will have to do some simple configuration like those floating around when you google for example:
http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch18_:_Configuring_DNS#Configuring_Y our_Nameserver



One thing is you will have to go to your registrar and setup your domain to be querried from your DNS server and this usually take 2 days to propagate.

Also the reverse DNS will always be handled by the ISP. You can only control forward lookups.

vinodadhikary
22nd March 2008, 11:55 PM

is there a recommended reading for this: Also the reverse DNS will always be handled by the ISP. You can only control forward lookups.

Will this really work for me? I don't have much knowledge in this.

jnvilo
23rd March 2008, 12:02 AM
just google for "reverse dns" :)

But essentially reverse DNS is as it says, instead of trying to map a domain to an IP, you map an IP to a domain.

You only need to have reverse DNS setup correctly for mail servers to avoid having mails marked as spam. I could stand corrected on this, but this was the only time I had to bother about reverse DNS. And a simple email to my hosting provider does the trick.

vinodadhikary
23rd March 2008, 12:10 AM
appreciate it. I gotta research on this. Although I do not have much time. Time is money. Have 3 more days to go. Gotta do it quickly. Thank you. Will post soon, hehe.