I have a bind DNS server and i'd like to catch all requests for subdomains that don't have a specific record and point them to a specific IP.

This would be like *.domain.tld > 1.1.1.1 and www.domain.tld > 2.2.2.2

link|improve this question

71% accept rate
feedback

1 Answer

up vote 6 down vote accepted

Just adding the wildcard entry should work.

www.domain.tld. 14400 IN A 2.2.2.2
*.domain.tld. 14400 IN A 1.1.1.1
link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.