Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can I set up Wildcard DNS on a pfSense embedded device running pfSense 2.0?


  • 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
share|improve this question
up vote 2 down vote accepted

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:

  1. Log in to pfSense 2.0 instance via the web interface.
  2. Go to Services-> DNS Forwarder (http://pfSensense_url/services_dnsmasq.php)
  3. Click the Advanced button Add as many of the following as you need, each entry on a new line.


Where dev is the end of the wildcard entry, and is the ip that these wildcard names will resolve to. Think of dev as *.dev, but only list the part after the dot. So,, and anything else that ends in .dev and is not defined elsewhere, will resolve to the ip provided.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.