How can I setup a Wilcard DNS Entry on pfSense?
5,728
This was no quick google search or RTFM. After visiting many sites, many dead ends, and a little trial and error, I figured this out:
- Log in to pfSense 2.0 instance via the web interface.
- Go to Services-> DNS Forwarder (http://pfSensense_url/services_dnsmasq.php)
-
Click the Advanced button Add as many of the following as you need, each entry on a new line.
address=/dev/127.0.0.1
Where dev is the end of the wildcard entry, and 127.0.0.1 is the ip that these wildcard names will resolve to. Think of dev as *.dev, but only list the part after the dot. So myhost.dev, myhost.subdomain.dev, and anything else that ends in .dev and is not defined elsewhere, will resolve to the ip provided.
Author by
user1615502
Updated on September 18, 2022Comments
-
user1615502 almost 2 years
How can I set up Wildcard DNS on a pfSense embedded device running pfSense 2.0?
Details:
- pfSense uses dnsmasq as a DNS forwarder
- Running the current pfSense release, 2.0
- Running on a Netgate M1n1wall embedded firewall.
- I have root access via ssh if necessary