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

    DNS server configuration (Need help)

    Scheduled Pinned Locked Moved DHCP and DNS
    15 Posts 5 Posters 63.2k 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.
    • A
      arunkeerthan
      last edited by

      im a pfsense newbie  ….Im using pfsense as my gateway...We are using few local servers inside our campus and those server are havin some names like axalpha.ir , btalpha.ir ,.... I simply want to configure a local DNS server in my pfsense gateway  such that my client machines should able to resolve those names "internally"  ..

      I installed tinydns and i dont know what to do with that .....and i don't know the difference between tiny dns and dns forwarder which is inbuilted with pfsense......i dont find any articles in internet for this setup....Right now im using untangle for my local DNS resolution which is pretty easy but due to my project changes i have to do the internal DNS in pfsense...can some one help me with the rough steps please..... :-\

      1 Reply Last reply Reply Quote 0
      • W
        wallabybob
        last edited by

        On my home network I get the service you describe from the DNS forwarder. From the web GUI: Services -> DNS Forwarder, enable it and then click in the"+" box near the bottom of the page to add entries.

        tiny DNS is incompatible with DNS forwarder; choose one or the other.

        1 Reply Last reply Reply Quote 0
        • A
          arunkeerthan
          last edited by

          I have two sections at the bottom and i dont understand the description mentioned that.

          "You may enter records that override the results from the forwarders below."

          and

          "Below you can override an entire domain by specifying an authoritative dns server to be queried for that domain."

          on these two sections where should i enter my records ( local domain names and  local ips)

          Thanks

          -Arun

          1 Reply Last reply Reply Quote 0
          • W
            wallabybob
            last edited by

            @arunkeerthan:

            "You may enter records that override the results from the forwarders below."

            Here you can enter a fully qualified host name (for example printer.mycompany.com) and its IP address. This IP address will be returned by the forwarder for that name rather than something returned from the external name servers. I've seen reports that something people use this this to block those pesky ads so many web pages display.

            @arunkeerthan:

            "Below you can override an entire domain by specifying an authoritative dns server to be queried for that domain."

            Here you specify the IP address of an DN server to provide name service for a particular name. For example, for names in domain acme.com ask the server at IP address 123.201.102.201 rather than the "standard" name servers.

            1 Reply Last reply Reply Quote 0
            • A
              arunkeerthan
              last edited by

              Please see the attached image .ive did as you said…after this i configured my pfsense's ipaddress as DNS server in my XP client machine and tried to access lap.aruntest.ir    it is not resolving....

              http://i54.tinypic.com/w8x6pg.jpg

              1 Reply Last reply Reply Quote 0
              • W
                wallabybob
                last edited by

                Sometimes it is necessary to reboot to get the system to take notice of changed settings.

                1 Reply Last reply Reply Quote 0
                • A
                  arunkeerthan
                  last edited by

                  ???    its not working even after reboot…..FYI...
                  It has WAN interface configured with static ip ...DO you want anyother information...?

                  1 Reply Last reply Reply Quote 0
                  • W
                    wallabybob
                    last edited by

                    I'd like more details on how you came to the conclusion "its not working". For example, complete the statement I did … on ... system and I saw the response ... but I expected (or wanted) to see ...

                    Please post the output of the command ipconfig /all given to a command prompt windows on the Windows XP system.

                    After you added the entry you should have seen the prompt The DNS forwarder configuration has been changed.
                    You must apply the changes in order for them to take effect.

                    Did you then click the Apply changes button to the right of this prompt? (If you didn't then the DNS forwarder won't have noticed you changed it configuration.) If you aren't sure then add a "dummy" entry and make sure you apply the changes and then retest.

                    1 Reply Last reply Reply Quote 0
                    • A
                      arunkeerthan
                      last edited by

                      Sorry for the delay…I was out of the project for few days.

                      I configured the following information in my xp networking settings
                      ip :            10.10.50.140
                      SNM:        255.0.0.0
                      Gateway : 10.10.10.151

                      Primary DNS : 10.10.10.151

                      when im try to ping lap.aruntest.ir  from my xp system  it says host unreachable...

                      Please help.

                      1 Reply Last reply Reply Quote 0
                      • W
                        wallabybob
                        last edited by

                        @arunkeerthan:

                        Sorry for the delay…I was out of the project for few days.

                        More like a few weeks? :-)

                        @arunkeerthan:

                        I configured the following information in my xp networking settings
                        ip :            10.10.50.140
                        SNM:         255.0.0.0
                        Gateway : 10.10.10.151

                        Primary DNS : 10.10.10.151

                        when im try to ping lap.aruntest.ir   from my xp system  it says host unreachable…

                        Please help.

                        Assuming the configuration you have described earlier is still current: you have added a DNS entry for host aruntest in domain lap.aruntest.ir (fully qualified domain name: aruntest.lap.aruntest.ir)

                        Perhaps your DNS forwarder entry should be host=lap domain=aruntest.ir … (to match your ping command). Perhaps your ping command should have been ping aruntest.lap.aruntest.ir (to match your DNS forwarder entry).

                        Edit - to correct formatting tags.

                        1 Reply Last reply Reply Quote 0
                        • chpalmerC
                          chpalmer
                          last edited by

                          System/Advanced Uncheck "Disable NAT Reflection"…    ??

                          Triggering snowflakes one by one..
                          Intel(R) Core(TM) i5-4590T CPU @ 2.00GHz on an M400 WG box.

                          1 Reply Last reply Reply Quote 0
                          • A
                            arunkeerthan
                            last edited by

                            Thanks wallabybob ….I got to know this before reading your reply  ::) ....When i did nslookup for the ip from my xp system i came to know that aruntest.lap.aruntest.ir    is my FQDN.....Thanks for the help ......I hope atleast this thread will be helpful for someone who is struggling with DNS forwarder same as me.

                            Thanks

                            -Arun

                            1 Reply Last reply Reply Quote 0
                            • X
                              XIII
                              last edited by

                              you must type in the full domain name, not just host. example:
                              host: server1
                              domain: jackson.com

                              to access this host it would be:
                              server1.jackson.com

                              -Chris Stutzman
                              Sys0:2.0.1: AMD Sempron 140 @2.7 1024M RAM 100GHD
                              Sys1:2.0.1: Intel P4 @2.66 1024M RAM 40GHD
                              freedns.afraid.org - Free DNS dynamic DNS subdomain and domain hosting.
                              Check out the pfSense Wiki

                              1 Reply Last reply Reply Quote 0
                              • N
                                Nachtfalke
                                last edited by

                                @XIII:

                                you must type in the full domain name, not just host. example:
                                host: server1
                                domain: jackson.com

                                to access this host it would be:
                                server1.jackson.com

                                Hi,

                                what should I have to do, that it is possible for me to ping the host without enter the FQDN ?

                                1 Reply Last reply Reply Quote 0
                                • X
                                  XIII
                                  last edited by

                                  use its IP or setup a DNS server like BIND or tinyDNS , or use a DNS service that lets you make queries against it such as OpenDNS and create a shortcut.

                                  -Chris Stutzman
                                  Sys0:2.0.1: AMD Sempron 140 @2.7 1024M RAM 100GHD
                                  Sys1:2.0.1: Intel P4 @2.66 1024M RAM 40GHD
                                  freedns.afraid.org - Free DNS dynamic DNS subdomain and domain hosting.
                                  Check out the pfSense Wiki

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