I have a problem with this DNS configuration:
RecordType - Name - Value
A *.domain.com 1.1.1.1
A *.sub.domain.com 2.2.2.2
I would like all subdomains of * .sub.domain.com
to point to 2.2.2.2
and everything else to point to 1.1.1.1
.
But i if I check test.sub.domain.com
both records are active. That's not good.
opcode QUERY
rcode NOERROR
flags QR RD RA
;QUESTION
test.sub.domain.com. IN A
;ANSWER
test.sub.domain.com. 3599 IN A 1.1.1.1
test.sub.domain.com. 3599 IN A 2.2.2.2
;AUTHORITY
;ADDITIONAL
Any idea how to do it?