When I do this dig
I get no answer...
red@localhost:~$ dig +noall +answer name-one.name-two.com @mydns-server.name-one.com
... but when add name-two.com soa
I get an answer for name-one.name-two.com
...
red@localhost:~$ dig +noall +answer name-one.name-two.com name-two.com soa @mydns-server.name-one.com
name-one.name-two.com. 868 IN A xx.xxx.xxx.xxx
name-two.com. 2926 IN SOA ns41.name-three.com. dns.name-four.net. 2013120202 28800 7200 604800 600
... what is going on here?
Thanks
Directly from
dig -h
:When you write:
dig
treats it as:But when you write:
dig
treats it as:So the A RR response you receive for the first host is not from @mydns-server.name-one.com.