#1  
Old 24th August 2006, 00:48
seanheng seanheng is offline
Member
 
Join Date: Jul 2006
Posts: 34
Thanks: 0
Thanked 0 Times in 0 Posts
Default help with dns

hello falko and everyone else trying to help me understand

ok i read the howto on traditional dns so what i get is i need to edit my named.conf
and this is what i did from the default one of the installation
//
// a caching only nameserver config
//
controls {
inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};

zone "." IN {
type hint;
file "named.ca";
};

zone "localdomain" IN {
type master;
file "localdomain.zone";
allow-update { none; };
};
zone "localhost" IN {
type master;
file "localhost.zone";
allow-update { none; };
};

zone "0.0.127.in-addr.arpa" IN {
type master;
file "named.local";
allow-update { none; };
};

zone "0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0 .0.0 .0.0.0.0.0.0.ip6.arpa" I$ type master;
file "named.ip6.local";
allow-update { none; };
};

zone "255.in-addr.arpa" IN {
type master;
file "named.broadcast";
allow-update { none; };
};

zone "0.in-addr.arpa" IN {
type master;
file "named.zero";
allow-update { none; };
};
// i added this after reading the howto on traditional dns
zone "72.195.64.in-addr.arpa" IN {
type master;
file "seanhostip.zone";
allow-update { none; };
};

zone "seanhostings.com" IN {
type master;
file "seanhost.zone";
allow-update { none; };
};

include "/etc/rndc.key";


then i created the seanhostip and seanhost zones
seanhost.zone looks like this
$TTL 86400
@ IN SOA games.seanhostings.com. root.localhost (
42 ; serial (d. adams)
3H ; refresh
15M ; retry
1W ; expiry
1D ) ; minimum
IN NS games.seanhostings.com
seanhostings.com IN A 64.195.72.81
www IN A 64.195.72.81
games IN A 64.195.72.81

seanhostip.zone looks like this
$TTL 86400
@ IN SOA games.seanhostings.com. root.localhost. (
1997022700 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 ) ; Minimum
IN NS games.seanhostings.com.
81 IN PTR games.seanhostings.com.


please help me if i am missing something or is going the wrong way

thanks
Reply With Quote
Sponsored Links
  #2  
Old 25th August 2006, 05:21
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,727 Times in 2,565 Posts
 
Default

I answered here: http://www.howtoforge.com/forums/showthread.php?t=5623
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 05:40.


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