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

    filterdns failed to resolve host will retry later again.

    Scheduled Pinned Locked Moved DHCP and DNS
    16 Posts 3 Posters 3.7k Views
    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.
    • johnpozJ
      johnpoz LAYER 8 Global Moderator
      last edited by

      and what exactly is in your
      /var/etc/filterdns.conf

      Do say a
      cat /var/etc/filterdns.conf

      Do you still see that typo.. 192.168.1.1.253 is not a valid IP address.

      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 24.11 | Lab VMs 2.8, 24.11

      1 Reply Last reply Reply Quote 0
      • B
        bcruze
        last edited by

        pf 192.168.1.1.253 lifx
        pf 192.168.1.251/32 lifx
        pf 192.168.1.252/32 lifx

        is the full filterdns.conf file
        can i just delete these entry's ?

        1 Reply Last reply Reply Quote 0
        • johnpozJ
          johnpoz LAYER 8 Global Moderator
          last edited by

          So the fix you said you did would of done that it would of removed the whole file.

          Do you still have that typo in your alias?

          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 24.11 | Lab VMs 2.8, 24.11

          1 Reply Last reply Reply Quote 1
          • B
            bcruze
            last edited by

            that gave me the information to fix this i believe. i deleted the alias entirely.

            thank you Sir

            1 Reply Last reply Reply Quote 0
            • johnpozJ
              johnpoz LAYER 8 Global Moderator
              last edited by

              so now your filterdns.conf only shows what you want in there?

              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 24.11 | Lab VMs 2.8, 24.11

              1 Reply Last reply Reply Quote 0
              • B
                bcruze
                last edited by

                i deleted the incorrect alias, and applied

                it still shows :

                pf 192.168.1.1.253 lifx
                pf 192.168.1.251/32 lifx
                pf 192.168.1.252/32 lifx

                should i just remove all three lines?

                GertjanG 1 Reply Last reply Reply Quote 0
                • GertjanG
                  Gertjan @bcruze
                  last edited by

                  @bcruze said in filterdns failed to resolve host will retry later again.:

                  i deleted the incorrect alias, and applied

                  it still shows :

                  pf 192.168.1.1.253 lifx
                  pf 192.168.1.251/32 lifx
                  pf 192.168.1.252/32 lifx

                  should i just remove all three lines?

                  The file
                  /var/etc/filterdns.conf
                  is build with the info setup in the GUI.

                  If
                  /var/etc/filterdns.conf
                  contains wrong things, like "192.168.1.1.253" (which is not a valid IPv4 so it probably treats it as a FQDN, and that will fail).

                  Btw : IMHO there is no need to 192.resolve 168.1.251/32 because it's already an IPv4 ....

                  No "help me" PM's please. Use the forum, the community will thank you.
                  Edit : and where are the logs ??

                  johnpozJ 1 Reply Last reply Reply Quote 0
                  • B
                    bcruze
                    last edited by

                    understood. but i deleted it from the GUI, and it still remained in the file. i manually deleted it from the file.

                    GertjanG 1 Reply Last reply Reply Quote 0
                    • GertjanG
                      Gertjan @bcruze
                      last edited by

                      @bcruze said in filterdns failed to resolve host will retry later again.:

                      i manually deleted it from the file.

                      That file, as any other settings-file will be regenerated by the pfSense-GUI.
                      You can't really edit these files, your edits will be overwritten with the GUI settings.

                      Run this 'magic' command in the console (after option 8) to check if any references exists in your GUI settings :

                      grep '192.168.1.1.253' /cf/conf/config.xml
                      

                      If it doesn't return anything, then "192.168.1.1.253" doesn't exist in the GUI.
                      If it does, show us the results ....

                      No "help me" PM's please. Use the forum, the community will thank you.
                      Edit : and where are the logs ??

                      1 Reply Last reply Reply Quote 0
                      • johnpozJ
                        johnpoz LAYER 8 Global Moderator @Gertjan
                        last edited by

                        @Gertjan said in filterdns failed to resolve host will retry later again.:

                        Btw : IMHO there is no need to 192.resolve 168.1.251/32 because it's already an IPv4 ....

                        Yeah I am curious as well - what exact alias type are you putting these IPs in?

                        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 24.11 | Lab VMs 2.8, 24.11

                        1 Reply Last reply Reply Quote 0
                        • B
                          bcruze
                          last edited by bcruze

                          i have 2 tunnels setup. but i wanted to setup the lights to go over the WAN instead of the tunnels.

                          so i created an alias called lifx and added the lights on the network. then under firewall > rules > lan added the alias and changed the default gateway to WAN.

                          so to fully answer your question i was assigning static IP addresses out of my DHCP pool range. and yes it was pretty high up there..

                          1 Reply Last reply Reply Quote 0
                          • johnpozJ
                            johnpoz LAYER 8 Global Moderator
                            last edited by

                            Yeah ok there are lots of reasons for alias - is the bad entry now gone from filterdns.conf ?

                            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 24.11 | Lab VMs 2.8, 24.11

                            1 Reply Last reply Reply Quote 0
                            • B
                              bcruze
                              last edited by

                              after i manually removed it from the file yes

                              1 Reply Last reply Reply Quote 0
                              • johnpozJ
                                johnpoz LAYER 8 Global Moderator
                                last edited by

                                So here is the thing filter dns only updates so often, so it would of prob cleared itself out after you corrected the typo or removed the entry.

                                But as long as its cleared and the other stuff you want in the alias is listed you should be good.

                                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 24.11 | Lab VMs 2.8, 24.11

                                1 Reply Last reply Reply Quote 1
                                • B
                                  bcruze
                                  last edited by

                                  thank you. you originally gave me the information to fix in i believe you 2nd post.
                                  this is resolved

                                  1 Reply Last reply Reply Quote 0
                                  • First post
                                    Last post
                                  Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.