Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

share|improve this question

1 Answer 1

up vote 7 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
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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