dots in hostnames problem

Matt Rae mattrae at gmail.com
Wed Mar 9 18:09:51 UTC 2011


Hi, I'm working on setting up a slave dns server. Dots have
historically been used in the hostnames here. The dots cause the
resulting zone file from a zone transfer to have $ORIGIN automatically
set assuming the dots are indicating a subdomain.

Here's an example of what's happening:

master zone file:

$ORIGIN example.com.
host1.set1        A        x.x.x.x
host2.set1        A        x.x.x.x
host3.set1        A        x.x.x.x

slave's zone file after axfr:

$ORIGIN set1.example.com.
host1               A        x.x.x.x
host2               A        x.x.x.x
host3               A        x.x.x.x

Is there a way to have it not change the ORIGIN and assume the dots
are a subdomain?

Thanks!

Matt Rae



More information about the bind-users mailing list