12

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

20

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
|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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