Important

Netgate is offering COVID-19 aid for pfSense software users, learn more.

Dig command on pfSense Software Version 2.2 and later

The dig command was part of the BIND utilities included in FreeBSD base on 9.x and below. pfSense®s software had included dig in the past as a part of the FreeBSD base but it is not included currently. On FreeBSD 10.x, BIND was removed from base and replaced by Unbound. pfSense software version 2.2 followed suit and began using Unbound as well.

For situations where dig was used in the past, the drill command should be used instead on FreeBSD 10.x.

The drill command has very similar output to dig, but has different syntax. Run drill -h for more information.

Examples

DNS Trace:

dig +trace www.google.com
drill -V5 -T www.google.com