virtual domains and zone files
Barry Finkel
b19141 at achilles.ctd.anl.gov
Mon Dec 1 15:16:41 UTC 2003
Andrew <andrew at arda.homeunix.net> wrote:
>>>My mail server hosts a virtual domain that does not include any hosts in
>>>it. Here is the zone file I use with this domain.
>>>
>>># cat /etc/namedb/master/arda.homelinux.net.zone
>>>$ORIGIN .
>>>$TTL 10800 ; 3 hours
>>>arda.homelinux.net IN SOA europa.arda.homeunix.net.
>>>postmaster.arda.homeunix.net. (
>>> 20030416 ; serial
>>> 10800 ; refresh (3 hours)
>>> 3600 ; retry (1 hour)
>>> 604800 ; expire (1 week)
>>> 3600 ; minimum (1 hour)
>>> )
>>> NS io.arda.homeunix.net.
>>> NS europa.arda.homeunix.net.
>>> MX 10 callisto.arda.homeunix.net.
>>>
>>>As things stand now, I can deliver mail to user at arda.homelinux.net but I
>>>would like to know if this zone file looks reasonable or if there are
>>>elements that don't need to be there.
Danny Mayer <mayer at gis.net> replied:
>>Since you have no A records at all, neither the NS nor the MX records
>>are usable. If you are going to deliver mail to arda.homelinux.net you need
>>an A record for at least callisto. BIND 9 should complain about these records.
>>I don't see how you could deliver mail to that address unless it's all local to
>>that machine or you have host records that you are not telling us about.
>>You should have A records for io, europa and callisto.
and Andrew <andrew at arda.homeunix.net> replied:
>I do have A records for io, callisto, and europa. They live in the
>arda.homeunix.net zone file.
You posted this zone file:
# cat /etc/namedb/master/arda.homelinux.net.zone
$ORIGIN .
$TTL 10800 ; 3 hours
arda.homelinux.net IN SOA europa.arda.homeunix.net.
postmaster.arda.homeunix.net. (
20030416 ; serial
10800 ; refresh (3 hours)
3600 ; retry (1 hour)
604800 ; expire (1 week)
3600 ; minimum (1 hour)
)
NS io.arda.homeunix.net.
NS europa.arda.homeunix.net.
MX 10 callisto.arda.homeunix.net.
That file looks to me like the zone file for
arda.homeunix.net
and that zone file has no "A" records. Please post what you think is
your
arda.homeunix.net
zone file -- the file that contains the "A" records. And as it appears
that you have two zone files for the same zone, please post the
relevant lines from your named.conf file -- the lines that reference
each of these two files.
----------------------------------------------------------------------
Barry S. Finkel
Computing and Instrumentation Solutions Division
Argonne National Laboratory Phone: +1 (630) 252-7277
9700 South Cass Avenue Facsimile:+1 (630) 252-4601
Building 222, Room D209 Internet: BSFinkel at anl.gov
Argonne, IL 60439-4828 IBMMAIL: I1004994
More information about the bind-users
mailing list