PDA

View Full Version : [all variants] DNS Wildcard Bind9



Dr Small
April 25th, 2008, 01:48 AM
I am trying to setup a wildcard for my domain mycroft.org with bind9, but really don't know where to begin.

Any suggestions?

terazen
April 25th, 2008, 04:27 AM
Hey I think this is what you are asking. If you are referring to hosts wildcards you can enter something like this in your bind files.

*.testbox IN A 1.2.3.4

Then anything.testbox.mycroft.org would resolve to 1.2.3.4.

For PTR you only need testbox.

4 IN PTR testbox.mycroft.org.

Also CNAMEs would be the same I think.

*.testbox IN CNAME anotherbox

Dr Small
April 25th, 2008, 10:05 PM
Thanks, that worked.
I used:

*.mycroft.org IN CNAME mycroft.org.

Dr Small