Wildcard prefix

Matus UHLAR - fantomas uhlar at fantomas.sk
Thu Apr 12 16:21:07 UTC 2018

On 12.04.18 16:11, Andrew Hardy wrote:
>Does bind support wildcard prefix
>I want to install bind DNS server on my LAN to locally test a web
>application that is designed to support receiving requests on different url
>domain prefixes.
>Map *.mydomain.com to
>For example

*.mydomain.com.	IN	A

>All arrive at http server on

bind does not care about HTTP. BIND will point A records to your IP but
that's all.

Note that wildcard DNS has caveats, e.g. it only applies to otherwise
non-existent records, not to any existent, so if you e.g. define

abc.mydomain.com	MX	...
www.def.mydomain.com	A	...

then the *.mydomain.com will NOT apply to abc.mydomain.com
some more info at https://en.wikipedia.org/wiki/Wildcard_DNS_record

>This is my primary need so I don't want to install if this is not my best

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.
42.7 percent of all statistics are made up on the spot. 

More information about the bind-users mailing list