How to setup a Host Override
-
What DNS servers do you have in your General Setup?
-
@ciscox None
-
@jimfreeze
Are you behind your own router/modem from your ISP?
Does pfSense get WAN IP (public IP) or private IP from the modem/router?
If it gets a private IP, it means that your modem/router is acting as a router with DHCP. Are you sure you don't have any kind of IP conflicts?Could you please take a screenshot of your DNS Resolver/General Settings?
-
none of what his wan IP is public or not, etc.. has anything to do with resolving just the local name of pfsense. Pfsense wan could be unplugged, and would still be able to resolve its own name.
What is ODD.. Is what he shows in general setup is not actually listed in unbound configuration files. Which if not there then no he would not be able to resolve it..
Why that is or what could cause that I have no idea to be honest..
Simple solution might be to just redo pfsense, or do a factory reset.. But all of this is just out of the box works. I don't even know what could of been done to F it up..
-
Are you behind your own router/modem from your ISP?
It is an ATT modem, which I have set as a pass through.
The pfSense gets an address via DHCPS-dynamic.
All packet filter and firewall settings are off.Does pfSense get WAN IP (public IP) or private IP from the modem/router?
ifconfig ix3 ix3: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 description: WAN options=e138bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,WOL_UCAST,WOL_MCAST,WOL_MAGIC,VLAN_HWFILTER,RXCSUM_IPV6,TXCSUM_IPV6> ether 90:ec:77:1d:1a:a0 inet6 fe80::92ec:77ff:fe1d:1aa0%ix3 prefixlen 64 scopeid 0x8 inet6 2600:1702:4c72:c400::22 prefixlen 128 inet6 2600:1702:4c72:c400:92ec:77ff:fe1d:1aa0 prefixlen 64 autoconf inet 107.131.42.156 netmask 0xfffffe00 broadcast 107.131.43.255 media: Ethernet autoselect (1000baseT <full-duplex,rxpause,txpause>) status: active nd6 options=23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL>
If it gets a private IP, it means that your modem/router is acting as a router with DHCP. Are you sure you don't have any kind of IP conflicts?
No IP conflicts that I can tell.
Could you please take a screenshot of your DNS Resolver/General Settings?
-
@johnpoz
You're right, but I liked to start with the simple settings, that's probably has nothing to do with the problem, but nice to make sure the settings are okay :)I believe there is something with his unbound settings or just a bad config.
Maybe like you say, doing a clean install would probably solve it? -
That's strange. I just did a clean install of pfsense 2.5.2 on new VM.
It did work out of the box. -
@ciscox said in How to setup a Host Override:
That's strange.
Not strange ;) Over the years I have done hundreds of pfsense installs. Always works out of the box every single time.. Follow the bouncing ball - bam working system out of the box 100% of the time..
I do not recall ever having an issue with a clean install.. Over the years when playing with snapshot versions I have had some issues on some snapshots, etc.
Really having a hard time coming up with why/how it could even be messed up to where the settings in system are not in the unbound config..
-
@johnpoz I rebuilt from factory defaults and it had the proper
pfsense.home.arpa
in/etc/hosts
and/var/unbound/host...
.However, after making some changes (my guess is in LAN or creating a bridge) it went back to not including
pfsense.home.arpa
.So, I triggered the issue a second time.
Now I'm seeing if I can pinpoint how that is happening.
-
-
@johnpoz To bridge some LAN ports.
-
@jimfreeze if you need more ports, use a switch.. You could pick up a 8 port gig smart switch for like $40..
https://www.amazon.com/NETGEAR-8-Port-Gigabit-Ethernet-Managed/dp/B07PLFCQVK/ref=psdc_281414_t3_B08P2C2GXF
Dumb switch for like $20
What exactly are you doing?
https://docs.netgate.com/pfsense/en/latest/bridges/interfaces.html