DNS BIND help to setup.



  • Some time i have to learn it so now might better be the time..

    I was wondering if there is a step by step guide to setup BIND DNS internal (it should only work on lan)
    I have absolute no knowledge about the setup of a DNS but it would be nice if i just could use example.localdomain insted of IP's to acces some of my servers there shouldn't be access to through the internet



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



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



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



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



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



  • 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








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


  • Banned

    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!



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



  • Banned

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



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


  • Banned

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



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



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



  • Well that make sense :) thanks for the your time


Log in to reply