[yadifa-users] subdomain configuration

Teuna Ferrand teuna.ferrand at gmail.com
Sun Mar 31 06:54:07 CEST 2013


this question has also been asked on serverfault.com:

I'm trying to setup subdomains on my DNS server running Yadifa 1.0.2 on
Ubuntu 12.10 64bit but can't get it to work.

in my yadifad.conf, my zone looks like this

  type                    master
  domain                  domain.tld.
  file                    masters/domain.tld.zone
  allow-transfer          any                          # for tests

my domain.tld.zone file looks like this

$ORIGIN domain.tld.
domain.tld.              IN    SOA ns.domain.tld. hostmaster.domain.tld. 1
10800 3600 604800 86400
                               NS ns.domain.tld.

ns                       IN    A
host                     IN    A
host.subdomain           IN    A
alias.subdomain          IN    CNAME host.subdomain

Running this configuration I can query my server for host.domain.tld fine
but if I query for host.subdomain.domain.tld or alias.subdomain.domain.tld
I get a host not found: 5(REFUSED) error.

I've tried many different configurations like moving my subdomain to it's
own zone file but nothing has worked so far.

What am I doing wrong?

Teuna Ferrand
mailto:teuna.ferrand at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.yadifa.eu/archives/yadifa-users/attachments/20130330/80d398e7/attachment.html 

More information about the yadifa-users mailing list