<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[New install, pfsense in ESXi cant resolve hostnames with static IP address]]></title><description><![CDATA[<p dir="auto">I have a pfSense box setup as a virtual machine in ESXI the same way I have another pfSense appliance with dedicated hardware setup. Everything appears to be working correctly in the VM (vlans, interfaces, etc). The problem is pfSense cannot resolve any devices that are connected with static IP by hostname. Even with "Register DHCP static mappings in the DNS Resolver" checked.</p>
<p dir="auto">In pfSenese under DNS lookup, any machine on the network with a static IP address cannot be resolved by hostname. nslookup on those same machines points to the firewall for DNS. Also my hostname overrides in DNS forwarder for internal websites is working. All DHCP addresses can be resolved by hostname but if trying to resolve from another machine, you must type hostname.&lt;pfsensedomain&gt;. Which is strange because a identical setup in the other office using a dedicated pfSense box has the same setup and machines automatically append the firewall domain to the end so typing "ping hostname" works.</p>
<p dir="auto">The only difference in the setup that works and the one that isn't as far as I can tell is one is in ESXi and the working version is using a dedicated firewall box. Both are using VLANs and multiiple interfaces. The machines on this new ESXi setup were resolving all hostnames fine with a old and basic consumer grade wireless router handling everything. It's just that functionality that seems to not be working correctly since moving to pfSense in ESXi.</p>
<p dir="auto">If I add hostname override for each machine that has a static IP, other machines can ping them by hostname. So it appears the "Register DHCP static mappings in the DNS Resolver" feature is not working with DNS Resolver.</p>
<p dir="auto">Any idea what is going on or how it can make this box start to automatically register hostnames for machines with static IP addresses?</p>
<p dir="auto"><strong>Static IP Machine DIG</strong><br />
; &lt;&lt;&gt;&gt; DiG 9.10.3-P4-Ubuntu &lt;&lt;&gt;&gt;<br />
;; global options: +cmd<br />
;; Got answer:<br />
;; -&gt;&gt;HEADER&lt;&lt;- opcode: QUERY, status: NOERROR, id: 52331<br />
;; flags: qr rd ra; QUERY: 1, ANSWER: 13, AUTHORITY: 0, ADDITIONAL: 1</p>
<p dir="auto">;; OPT PSEUDOSECTION:<br />
; EDNS: version: 0, flags:; udp: 4096<br />
;; QUESTION SECTION:<br />
;. IN NS</p>
<p dir="auto">;; ANSWER SECTION:<br />
. 211203 IN NS j.root-servers.net.<br />
. 211203 IN NS a.root-servers.net.<br />
. 211203 IN NS f.root-servers.net.<br />
. 211203 IN NS c.root-servers.net.<br />
. 211203 IN NS d.root-servers.net.<br />
. 211203 IN NS b.root-servers.net.<br />
. 211203 IN NS e.root-servers.net.<br />
. 211203 IN NS l.root-servers.net.<br />
. 211203 IN NS i.root-servers.net.<br />
. 211203 IN NS m.root-servers.net.<br />
. 211203 IN NS g.root-servers.net.<br />
. 211203 IN NS k.root-servers.net.<br />
. 211203 IN NS h.root-servers.net.</p>
<p dir="auto">;; Query time: 31 msec<br />
;; SERVER: 192.168.0.1#53(192.168.0.1)<br />
;; WHEN: Fri Jul 07 08:50:55 EDT 2017<br />
;; MSG SIZE  rcvd: 239</p>
<p dir="auto"><strong>DHCP Machine DIG</strong></p>
<p dir="auto">; &lt;&lt;&gt;&gt; DiG 9.10.3-P4-Ubuntu &lt;&lt;&gt;&gt;<br />
;; global options: +cmd<br />
;; Got answer:<br />
;; -&gt;&gt;HEADER&lt;&lt;- opcode: QUERY, status: NOERROR, id: 14538<br />
;; flags: qr rd ra; QUERY: 1, ANSWER: 13, AUTHORITY: 0, ADDITIONAL: 1</p>
<p dir="auto">;; OPT PSEUDOSECTION:<br />
; EDNS: version: 0, flags:; udp: 4096<br />
;; QUESTION SECTION:<br />
;. IN NS</p>
<p dir="auto">;; ANSWER SECTION:<br />
. 200667 IN NS m.root-servers.net.<br />
. 200667 IN NS l.root-servers.net.<br />
. 200667 IN NS h.root-servers.net.<br />
. 200667 IN NS c.root-servers.net.<br />
. 200667 IN NS b.root-servers.net.<br />
. 200667 IN NS i.root-servers.net.<br />
. 200667 IN NS e.root-servers.net.<br />
. 200667 IN NS a.root-servers.net.<br />
. 200667 IN NS k.root-servers.net.<br />
. 200667 IN NS d.root-servers.net.<br />
. 200667 IN NS f.root-servers.net.<br />
. 200667 IN NS j.root-servers.net.<br />
. 200667 IN NS g.root-servers.net.</p>
<p dir="auto">;; Query time: 35 msec<br />
;; SERVER: 127.0.1.1#53(127.0.1.1)<br />
;; WHEN: Fri Jul 07 10:31:38 EDT 2017<br />
;; MSG SIZE  rcvd: 239</p>
<p dir="auto">nslookup FreeNas<br />
Server: 192.168.0.1<br />
Address: 192.168.0.1#53</p>
<p dir="auto">** server can't find FreeNas: NXDOMAIN</p>
<p dir="auto"><strong>DHCP example</strong></p>
<p dir="auto">nslookup tpc1<br />
Server: 192.168.0.1<br />
Address: 192.168.0.1#53</p>
<p dir="auto">** server can't find tpc1: NXDOMAIN</p>
<p dir="auto">nslookup tpc1.yodomain<br />
Server: 192.168.0.1<br />
Address: 192.168.0.1#53</p>
<p dir="auto">Name: tpc1.yodomain<br />
Address: 192.168.0.146</p>
<p dir="auto">![Screenshot from 2017-07-07 08-53-51.png](/public/<em>imported_attachments</em>/1/Screenshot from 2017-07-07 08-53-51.png)<br />
![Screenshot from 2017-07-07 08-53-51.png_thumb](/public/<em>imported_attachments</em>/1/Screenshot from 2017-07-07 08-53-51.png_thumb)<br />
![Screenshot from 2017-07-07 08-55-24.png](/public/<em>imported_attachments</em>/1/Screenshot from 2017-07-07 08-55-24.png)<br />
![Screenshot from 2017-07-07 08-55-24.png_thumb](/public/<em>imported_attachments</em>/1/Screenshot from 2017-07-07 08-55-24.png_thumb)<br />
![Screenshot from 2017-07-07 08-56-05.png](/public/<em>imported_attachments</em>/1/Screenshot from 2017-07-07 08-56-05.png)<br />
![Screenshot from 2017-07-07 08-56-05.png_thumb](/public/<em>imported_attachments</em>/1/Screenshot from 2017-07-07 08-56-05.png_thumb)&lt;/pfsensedomain&gt;</p>
]]></description><link>https://forum.netgate.com/topic/117815/new-install-pfsense-in-esxi-cant-resolve-hostnames-with-static-ip-address</link><generator>RSS for Node</generator><lastBuildDate>Wed, 15 Jul 2026 02:05:36 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/117815.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 07 Jul 2017 13:12:01 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to New install, pfsense in ESXi cant resolve hostnames with static IP address on Fri, 07 Jul 2017 13:31:09 GMT]]></title><description><![CDATA[<p dir="auto">Also, here are the firewall rules for the network in question</p>
<p dir="auto">![Screenshot from 2017-07-07 09-30-35.png](/public/<em>imported_attachments</em>/1/Screenshot from 2017-07-07 09-30-35.png)<br />
![Screenshot from 2017-07-07 09-30-35.png_thumb](/public/<em>imported_attachments</em>/1/Screenshot from 2017-07-07 09-30-35.png_thumb)</p>
]]></description><link>https://forum.netgate.com/post/710113</link><guid isPermaLink="true">https://forum.netgate.com/post/710113</guid><dc:creator><![CDATA[travis01]]></dc:creator><pubDate>Fri, 07 Jul 2017 13:31:09 GMT</pubDate></item></channel></rss>