PDA

View Full Version : [all variants] DNS Wildcard Bind9


Dr Small
April 24th, 2008, 08:48 PM
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 24th, 2008, 11:27 PM
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, 05:05 PM
Thanks, that worked.
I used:
*.mycroft.org IN CNAME mycroft.org.

Dr Small