Helpful Information
 
 
Category: DNS
How to Create Name Servers Given Ips.

Hi,

I just recently got a dedicated server for my site lancerforums.com and I need to setup the nameservers to switch from my current host. I purchased the domain through Network Solutions so I can update the info myself, but I'm not sure how to create the nameserver names to the ips I have. I want to use ns.lancerforums.com and ns2.lancerfourms.com.

I tried to search in google, but most results were from hosting companies with some control panel instuctions, which didn't help me much. Thanks for any help.

Mark

1) How many static IPs?
2) What are you running?

1. Just one for static ip for my website. There's not going to be anything else on the server.
2. I'm running Red Hat 7.2

Thanks,

Mark

>> Just one for static ip for my website

Then how are you going to configure ns and ns2? BTW, I am just trying to check your qualification because not everyone can run authoritative DNS server.

Sorry, I have 100 ips available. I was thinking how for different sites. The company I got the server through said I can run it myself and gave me two ips that I could use. I'm just not sure how to link nameservers to them.

It could be that he has a DNS server and gave me the ips from there, but no nameservers were specified (maybe he assumed ns.lancerforums?)

Thanks,

Mark

>> I'm just not sure how to link nameservers to them

You don't even need to link your authoritative nameservers to them, unless they can delegate your in-addr.arpa to you. If they don't, you still can ask if they can setup a PTR record for your ns1 and ns2. Having a broken reverse DNS for ns1 and ns2 is highly discouraged.

>> but no nameservers were specified

You don't need to care about that since you will be running your own authoritative DNS server yourself. The IPs is all you needed to configure that. You first need to setup your authoritative nameservers, then ask them if they can delegate the entire in-addr.arpa to you.

Ok, I created the nameservers ns1.lancerforums.com and ns2.lancerforums.com with the two given ips I have. The changes are listed at Net Sol. Now, how would I go about setting up the authoritative nameservers? I have full access and should be able to do as I please with my linux server.

Thanks,

Mark

You need to setup a zone record for lancerforums.com. Here is an example of lancerforums.db on ns1:

$TTL 86400
lancerforums.com. IN SOA ns1.lancerforums.com. hostmaster.lancerforums.com. (
2002012013; Serial
1H ; Refresh (change 1H to 6H in 3 days or so)
1800 ; Retry (change to 1H in 3 days)
2W ; Expire
1D ); Minimum
lancerforums.com. IN NS ns1.lancerforums.com.
lancerforums.com. IN NS ns2.lancerforums.com.
ns1.lancerforums.com. IN A 216.177.51.219
ns2.lancerforums.com. IN A 216.177.51.220
mail.lancerforums.com. IN A 216.177.51.221
lancerforums.com. IN A 216.177.51.219
lancerforums.com. IN MX 0 mail.lancerforums.com.










privacy (GDPR)