Wild cards in zone file

Matus UHLAR - fantomas uhlar at fantomas.sk
Tue May 24 09:25:53 UTC 2011


On 24.05.11 09:55, John Kennedy wrote:
> I tried to google this but could not hit the right keywords (been a long
> week)...
> 
> I have 3 hosts on a domain (example.com) like so:
> 
> int.project               A           10.10.10.2
> stage.project           A          10.10.10.3
> test.project             A           10.10.10.4
> 
> Now I want everything else to go to 10.10.10.5
> *.project                 A           10.10.10.5
> 
> Is this possible?

yes, this is how wildcards work. Note that this could have side effects,
e.g. anyone can use randomnonexistingdomain.project.example.com as source
address for spam e-mails, and many others.
I advise only use wildcards for cases they are REALLY needed.

see RFC4592 for more informations about DNS wildcards.
-- 
Matus UHLAR - fantomas, uhlar at fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Linux IS user friendly, it's just selective who its friends are...



More information about the bind-users mailing list