The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
[ HOME | TOPICS | INDEX | WEB RESOURCES | BOOKS | CONTRIBUTE | SEARCH | FEEDBACK | FAQ | FORUMS ]
FreeBSD Support
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Newer Topic  |  Older Topic 
 DNS - Zone file example
Author: Fred 
Date:   20-01-03 17:45

Hi,

I am new to DNS administration. I have several domains I need to host. Can you please recommend the best "template" you can use to setup the zone file for these domains. I understand what all needs to go into the zone file but I just would like a good template to use.

Thanks
Fred

Reply To This Message
 
 Re: DNS - Zone file example
Author: Erin 
Date:   21-01-03 19:40

Here is an example of mine from Bind 8.

-Erin

------------

$TTL 36400
@ IN SOA ns0.dns2.net. noc.dns2.net. (
2002121201
10800
3600
604800
86400 )

deadbbs.com. IN NS ns0.dns2.net.
deadbbs.com. IN NS ns1.dns2.net.

deadbbs.com. IN MX 10 hermes.deadbbs.com.

deadbbs.com. IN A 64.66.29.5
odin.deadbbs.com. IN A 64.66.29.5
thor.deadbbs.com. IN A 209.126.200.98
hermes.deadbbs.com. IN A 64.66.29.4

golgotha.deadbbs.com. IN CNAME odin
erin.deadbbs.com. IN CNAME odin
toby.deadbbs.com. IN CNAME odin
www.deadbbs.com. IN CNAME odin
muuz.deadbbs.com. IN CNAME odin
mail.deadbbs.com. IN CNAME hermes
inflictedchaos.deadbbs.com. IN CNAME thor

Reply To This Message
 
 Re: DNS - Zone file example
Author: .daniel.schrock 
Date:   21-01-03 19:49

fyi: some mail servers have issues with mail.example.com being a CNAME, but you can have multiple A records.

using the example above:

odin.deadbbs.com. IN A 64.66.29.5
mail.deadbbs.com. IN A 64.66.29.5

Reply To This Message
 Forum List  |  Threaded View   Newer Topic  |  Older Topic 


 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Password:
 Remember my login:
   
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum

phorum.org