Jump to content

Dns Records Required For Nameservers


Recommended Posts

Hello all,

This is my first time creating nameservers, and I was wondering if someone could give me a list of records I need to create on the host server (PTR, Reverse Lookup, etc.)? In the end I would like them to look like ns1.iceitsupport.net and ns2.iceitsupport.net. Thanks!

Link to comment
Share on other sites

How about looking at this sample BIND configuration file?

 

$TTL 14400
$ORIGIN example.com.

; Specify the primary nameserver ns1.example.com in SOA
@ 14400 IN SOA ns1.example.com. webmaster.example.com. (
                               2008092902 ; Serial in YYYYMMDDXX (XX is increment)
                               10800; refresh seconds
                               3600; retry
                               604800; expire
                               38400; minimum
                               );
; Website IP Address specified in A record

      IN A 11.11.11.11

; TWO nameserver names

      IN NS ns1.example.com.
      IN NS ns2.example.com.

; Nameservers and their corresponding IPs

ns1  IN A 11.11.11.11
ns2  IN A 22.22.22.22

; Specify here any Aliases using CNAME record

www IN CNAME example.com.
ftp IN CNAME example.com.

; Set Mail Exchanger record with priority

mail IN MX 10 example.com.

Link to comment
Share on other sites

Thanks! But I have two questions:

 

1) This is how HelioHost's nameservers are setup right?

2) So now I can go to my domain registrar and enter ns1.example.com and ns2.example.com as the nameservers right?

3) I assume, to create new subdomains I would use this:

example2 IN A 11.11.11.11
www.example2 IN A 11.11.11

for example2.example.com and www.example2.example.com.

I apologise for these extremely dumb (practically kindergarten level) questions, but I am new to DNS and I am still learning anything beyond A and CNAME records.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...