[CentOS] DNS wizard
Sam Drinkard
sam at wa4phy.net
Thu Dec 29 21:57:43 UTC 2005
On Thu, 2005-12-29 at 22:07 +0100, Maciej Żenczykowski wrote:
> > @ IN NS 216.104.158.222
> > @ IN NS 216.104.128.37
> > @ IN NS 216.104.128.38
>
> Specifying IP's for NS'es is illegal - NS'es should be hostnames -
> themselves posessing A or AAAA records (for the interest of quick lookup
> times these hostnames should be from within the domain they're NS'ing
> for...) In other words, you should have:
>
> @ IN NS ns1
> @ IN NS ns2
> @ IN NS ns3
> ns1 IN A 216.104.158.222
> ns2 IN A 216.104.128.37
> ns3 IN A 216.104.128.38
>
>
> > wa4phy.net. A 216.104.158.222
> this is just "@ A ..."
> > vortex.wa4phy.net. A 216.104.158.222
> this is just "vortex A ..."
> > ns.wa4phy.net. A 216.104.158.222
> this is just "ns A ..."
> > localhost A 127.0.0.1
> this is weird because it is localhost.wa4phy.net. A 127.0.0.1
> > 1 IN PTR localhost.wa4phy.net.
> Ah so maybe the weird localhost is what you wanted?
>
> Cheers,
> MaZe.
>
Ok.. I made some edits, and before I do a restart, if you don't mind,
take a look at the revised zone file. I think I got the idea what you
were talking about. here's the edited file......
@ IN SOA wa4phy.net. root.wa4phy.net. (
2005122901 ; Serial, todays date + todays
serial #
8H ; Refresh, seconds
2H ; retry, seconds
1W ; expire, seconds
1D ) ; minimum, seconds
@ IN NS ns.wa4phy.net.
@ IN NS ns5.gabn.net.
@ IN NS ns6.gabn.net.
ns1 IN A 216.104.158.222
ns2 IN A 216.104.128.37
ns3 IN A 216.104.128.38
wa4phy.net. A 216.104.158.222
vortex.wa4phy.net. A 216.104.158.222
ns.wa4phy.net. A 216.104.158.222
localhost. A 127.0.0.1
MX 10 wa4phy.net. ;Primary Mail Exchanger
MX 20 smtp7.bagger.usbn.net. ;Secondary MX
www CNAME wa4phy.net.
ftp CNAME wa4phy.net.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20051229/46a6a8d8/attachment.html>
More information about the CentOS
mailing list