HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   General (http://www.howtoforge.com/forums/forumdisplay.php?f=25)
-   -   DNS Wizard Template (http://www.howtoforge.com/forums/showthread.php?t=48593)

Toucan 7th September 2010 23:29

DNS Wizard Template
 
I want to add ftp.mysite.com to my DNS template.

I've tried this and it works:
Code:

[ZONE]
origin={DOMAIN}.
ns={NS1}.
mbox={EMAIL}.
refresh=28800
retry=7200
expire=604800
minimum=86400
ttl=86400

[DNS_RECORDS]
A|{DOMAIN}.|{IP}|0|86400
A|www|{IP}|0|86400
A|mail|{IP}|0|86400
A|ftp|{IP}|0|86400
NS|{DOMAIN}.|{NS1}.|0|86400
NS|{DOMAIN}.|{NS2}.|0|86400
MX|{DOMAIN}.|mail.{DOMAIN}.|10|86400

As you can see I've made and A record to achieve this. Is this the correct way or should a CNAME be used instead?

till 8th September 2010 09:07

Quote:

As you can see I've made and A record to achieve this. Is this the correct way or should a CNAME be used instead?
Thats up to you. I would use a A-Record as you did.

Toucan 8th September 2010 12:42

Thanks till. I'm a little unsure on which occasions to use which though. If you or someone else can explain please.

kendel 8th September 2010 21:59

hey Till, should I port-forward anything to my dns servers?


All times are GMT +2. The time now is 14:34.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.