• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

How to setup a Host Override

Scheduled Pinned Locked Moved DHCP and DNS
58 Posts 4 Posters 11.7k Views 3 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    jimfreeze @johnpoz
    last edited by Nov 13, 2021, 3:00 PM

    @johnpoz So, that is the real question. Why is that line not getting defined on my router?

    arm64:~ % nslookup pfsense.home.arpa
    Server:		192.168.100.1
    Address:	192.168.100.1#53
    
    ** server can't find pfsense.home.arpa: SERVFAIL
    
    arm64:~ % ping pfsense.home.arpa
    ping: cannot resolve pfsense.home.arpa: Unknown host
    

    It's almost certain that I have some config that is preventing that from happening, but I don't know what it could be. You have verified the settings are correct on General setup, DNS resolver and DHCP server.

    /etc/hosts is still the same and does not include the pfSense line like yours does.

    [21.05.2-RELEASE][admin@pfSense.home.arpa]/root: cat /etc/hosts
    127.0.0.1	localhost localhost.home.arpa
    ::1	localhost localhost.home.arpa
    [21.05.2-RELEASE][admin@pfSense.home.arpa]/root:
    

    Can you think of a configuration setting that I changed that would cause this?

    M 1 Reply Last reply Nov 13, 2021, 3:03 PM Reply Quote 0
    • M Offline
      MoonKnight @jimfreeze
      last edited by MoonKnight Nov 13, 2021, 3:05 PM Nov 13, 2021, 3:03 PM

      @jimfreeze

      What DNS servers do you have in your General Setup?

      --- 25.07 ---
      Intel(R) Xeon(R) CPU D-1518 @ 2.20GHz
      Kingston DDR4 2666MHz 16GB ECC
      2 x HyperX Fury SSD 120GB (ZFS-mirror)
      2 x Intel i210 (ports)
      4 x Intel i350 (ports)

      J 1 Reply Last reply Nov 13, 2021, 3:07 PM Reply Quote 0
      • J Offline
        jimfreeze @MoonKnight
        last edited by Nov 13, 2021, 3:07 PM

        @ciscox None

        Screen Shot 2021-11-13 at 9.06.30 AM.png

        M 1 Reply Last reply Nov 13, 2021, 3:14 PM Reply Quote 0
        • M Offline
          MoonKnight @jimfreeze
          last edited by MoonKnight Nov 13, 2021, 3:17 PM Nov 13, 2021, 3:14 PM

          @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?

          --- 25.07 ---
          Intel(R) Xeon(R) CPU D-1518 @ 2.20GHz
          Kingston DDR4 2666MHz 16GB ECC
          2 x HyperX Fury SSD 120GB (ZFS-mirror)
          2 x Intel i210 (ports)
          4 x Intel i350 (ports)

          J J 2 Replies Last reply Nov 13, 2021, 3:21 PM Reply Quote 0
          • J Offline
            johnpoz LAYER 8 Global Moderator @MoonKnight
            last edited by johnpoz Nov 13, 2021, 3:24 PM Nov 13, 2021, 3:21 PM

            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..

            An intelligent man is sometimes forced to be drunk to spend time with his fools
            If you get confused: Listen to the Music Play
            Please don't Chat/PM me for help, unless mod related
            SG-4860 25.07 | Lab VMs 2.8, 25.07

            M 1 Reply Last reply Nov 13, 2021, 3:30 PM Reply Quote 0
            • J Offline
              jimfreeze @MoonKnight
              last edited by Nov 13, 2021, 3:27 PM

              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?

              Screen Shot 2021-11-13 at 9.19.28 AM.png

              Screen Shot 2021-11-13 at 9.19.40 AM.png

              Screen Shot 2021-11-13 at 9.19.47 AM.png

              M 1 Reply Last reply Nov 13, 2021, 5:13 PM Reply Quote 0
              • M Offline
                MoonKnight @johnpoz
                last edited by Nov 13, 2021, 3:30 PM

                @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?

                --- 25.07 ---
                Intel(R) Xeon(R) CPU D-1518 @ 2.20GHz
                Kingston DDR4 2666MHz 16GB ECC
                2 x HyperX Fury SSD 120GB (ZFS-mirror)
                2 x Intel i210 (ports)
                4 x Intel i350 (ports)

                1 Reply Last reply Reply Quote 0
                • M Offline
                  MoonKnight @jimfreeze
                  last edited by MoonKnight Nov 13, 2021, 5:31 PM Nov 13, 2021, 5:13 PM

                  @jimfreeze

                  That's strange. I just did a clean install of pfsense 2.5.2 on new VM.
                  It did work out of the box.

                  42493f1e-f619-4f75-a12e-c307b8b86414-image.png

                  f847be58-d6ac-4963-827c-2064fd389452-image.png

                  --- 25.07 ---
                  Intel(R) Xeon(R) CPU D-1518 @ 2.20GHz
                  Kingston DDR4 2666MHz 16GB ECC
                  2 x HyperX Fury SSD 120GB (ZFS-mirror)
                  2 x Intel i210 (ports)
                  4 x Intel i350 (ports)

                  J 1 Reply Last reply Nov 13, 2021, 6:23 PM Reply Quote 0
                  • J Offline
                    johnpoz LAYER 8 Global Moderator @MoonKnight
                    last edited by Nov 13, 2021, 6:23 PM

                    @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..

                    An intelligent man is sometimes forced to be drunk to spend time with his fools
                    If you get confused: Listen to the Music Play
                    Please don't Chat/PM me for help, unless mod related
                    SG-4860 25.07 | Lab VMs 2.8, 25.07

                    J 1 Reply Last reply Nov 13, 2021, 7:54 PM Reply Quote 0
                    • J Offline
                      jimfreeze @johnpoz
                      last edited by Nov 13, 2021, 7:54 PM

                      @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.

                      J 1 Reply Last reply Nov 13, 2021, 8:53 PM Reply Quote 0
                      • J Offline
                        johnpoz LAYER 8 Global Moderator @jimfreeze
                        last edited by Nov 13, 2021, 8:53 PM

                        @jimfreeze said in How to setup a Host Override:

                        creating a bridge

                        Why are you creating a bridge?

                        An intelligent man is sometimes forced to be drunk to spend time with his fools
                        If you get confused: Listen to the Music Play
                        Please don't Chat/PM me for help, unless mod related
                        SG-4860 25.07 | Lab VMs 2.8, 25.07

                        J 1 Reply Last reply Nov 13, 2021, 10:18 PM Reply Quote 0
                        • J Offline
                          jimfreeze @johnpoz
                          last edited by Nov 13, 2021, 10:18 PM

                          @johnpoz To bridge some LAN ports.

                          J 1 Reply Last reply Nov 13, 2021, 10:23 PM Reply Quote 0
                          • J Offline
                            johnpoz LAYER 8 Global Moderator @jimfreeze
                            last edited by johnpoz Nov 13, 2021, 10:25 PM Nov 13, 2021, 10:23 PM

                            @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

                            An intelligent man is sometimes forced to be drunk to spend time with his fools
                            If you get confused: Listen to the Music Play
                            Please don't Chat/PM me for help, unless mod related
                            SG-4860 25.07 | Lab VMs 2.8, 25.07

                            1 Reply Last reply Reply Quote 0
                            58 out of 58
                            • First post
                              58/58
                              Last post
                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                              This community forum collects and processes your personal information.
                              consent.not_received