This is a discussion on Re: need help in bind9 setup within the Bind Users forums, part of the DNS and Related Forums category; In article <d3f08d$fh5$1@sf1.isc.org>, Chiang Seng Chang <cs@ctzen.com> wrote: > ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
In article <d3f08d$fh5$1@sf1.isc.org>, Chiang Seng Chang <cs@ctzen.com>
wrote: > Would these be more correct ? Yes, except you still need to have more than one nameserver for each domain. > > db.dom-a.com: > > $TTL 86400 > dom-a.com. IN SOA ns hostmaster > (...omitted...) > IN NS ns > IN MX 10 mail > @ IN A 1.2.3.4 > localhost IN A 127.0.0.1 > ns IN A 1.2.3.4 > mail IN A 1.2.3.4 > www IN CNAME @ > foo IN CNAME @ > > > db.dom-b.com: > > $TTL 86400 > dom-b.com. IN SOA ns.dom-a.com hostmaster.dom-a.com > (...omitted...) > IN NS ns.dom-a.com. > IN MX 10 mail.dom-a.com. > @ IN A 1.2.3.4 > localhost IN A 127.0.0.1 > www IN CNAME @ > > > note. ip 1.2.3.4 is repeat many times (?) Yes, that happens. Of course, there's no reason why you have to use different hostnames for the targets of the NS and MX records. You can do: IN NS ns IN MX 10 ns -- Barry Margolin, barmar@alum.mit.edu Arlington, MA *** PLEASE post questions in newsgroups, not directly to me *** |