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

    DNS BIND help to setup.

    DHCP and DNS
    3
    17
    2.4k
    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.
    • KOMK
      KOM
      last edited by

      Unless you have a burning need to learn bind specifically, why not just use the built-in forwarder?

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

        Well if that can do the job then there is no problem.
        Butbiw there a step by step guide ør something else there could help me with the setup?

        1 Reply Last reply Reply Quote 0
        • KOMK
          KOM
          last edited by

          What setup???  It's enabled by default.  Go to Services - DNS Forwarder and populate the Host Overrides with your custom DNS entries.

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

            So if i have a server running with

            hostname : Mysql-Ubuntu
            IP : 10.0.2.4

            then i can just go into Services - DNS Forwarder

            and enter Hostname : Mysql-ubuntu
                            Domainname : Local
                            IP Adress : 10.0.2.4

            and then head into my browser and type http://mysql-ubuntu.local/phpmyadmin

            and thats it ? it wouldnt be sent to a nameserver outside my network or anything ?
            sry for being such a dummy here..

            1 Reply Last reply Reply Quote 0
            • KOMK
              KOM
              last edited by

              and thats it ?

              Try it and see!  :D

              it wouldnt be sent to a nameserver outside my network or anything ?

              No.  Unless you have a rule on WAN that allows 53 TCP/UDP in, nobody will see any DNS service on your WAN address.  The Forwarder will serve any overrides you have set (even for other valid external domains) to your LAN clients and fetch anything else from the DNS servers you have set in your General config.

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

                Lol yearh i can see how that looks :D i did eventually try btw :D
                and i failed…......
                it didn't worked at all? nothing was happening

                Selection_014.png_thumb
                Selection_014.png
                Selection_015.png_thumb
                Selection_015.png
                Selection_013.jpg
                Selection_013.jpg_thumb

                1 Reply Last reply Reply Quote 0
                • KOMK
                  KOM
                  last edited by

                  1.  You have no defined DNS servers upstream.  This won't solve your immediate problem, but it's something you need to fix if you want the forwarder to handle non-local domains.

                  2.  DNS Forwarder should be bound to localhost, not All.

                  3.  Why is the Listen port set to 54?  Leave it blank to use the default DNS port 53.

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

                    1. This is where a step by step guide or somthing else would be good to have ( I must admit i am totally lost here)
                    2. is changed to localhost now.
                    3. it is set to 54 because the DNS resolver is running on port 53 and the DNS forwarder can't run on the same port (error message)

                    1 Reply Last reply Reply Quote 0
                    • D
                      doktornotor Banned
                      last edited by

                      Why are you running two DNS servers? Nothing will query it on port 54. If you are already running the DNS resolver, then set up the host overrides in the DNS resolver and move on!

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

                        Again i tam out of knowledge here. ask me to setup a proxy server or anything else and i will do it but i am still in the learning process and DNS is like an unknown country to me.

                        I have already tried to setup the Host Overrides in DNS Resolver but it isnt working ? ipmi and mysql isn't working but landscape and esxi are ?

                        Selection_016.png
                        Selection_016.png_thumb

                        1 Reply Last reply Reply Quote 0
                        • D
                          doktornotor Banned
                          last edited by

                          ??? ??? ??? Why are all those hosts in come separate random domain? ??? ??? ???

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

                            So if my domain under system > General Setup is for an example home. then my domains should be named home ?
                            and then i could access it with  ipmi.home…..  :-[

                            thanks man :D i almost feel embarrassed for being so stupid now....

                            can i ask you what the difference is between resolver and forwareder?

                            1 Reply Last reply Reply Quote 0
                            • D
                              doktornotor Banned
                              last edited by

                              @notaduck:

                              So if my domain under system > General Setup is for an example home. then my domains should be named home ?
                              and then i could access it with  ipmi.home…..  :-[
                              [/quote]

                              Well yes, whole lot easier to remember than having random domain for every host, no?  ;D

                              @notaduck:

                              can i ask you what the difference is between resolver and forwareder?

                              For the purpose discussed here, none. Otherwise, forwarder forwards the queries to usptream DNS servers, the resolver does recursive resolution itself by default.

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

                                well after i fired up my Esxi whitebox with 6 VM's on it became pretty difficult to remember where the different IPs were leading me too :D so yes

                                aaaarh :) can i ask you why i was adviced to setup a DNS forwareder instead ?

                                1 Reply Last reply Reply Quote 0
                                • KOMK
                                  KOM
                                  last edited by

                                  can i ask you why i was adviced to setup a DNS forwareder instead ?

                                  I'll take this one…  I stupidly didn't bother to check as to which one you were already running, and I didn't remember that it's the resolver that is the default now in 2.2 and not the forwarder.

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

                                    Well that make sense :) thanks for the your time

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