Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 11
Hello All I need to set up DNS for my Apache server. I have set up Bind 9 and made NS and Master Records but unable to access page on ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2009
    Posts
    25

    Thumbs up DNS Setup Using BIND 9


    Hello All


    I need to set up DNS for my Apache server. I have set up Bind 9 and made NS and Master Records but unable to access page on client machine's browser using hostname (but i can access pages using ip address of server). More over i can access the apache server pages using ip address and even hostname in the server machine.


    Is there anything else to set up so that DNS work for client machines also.


    Krishna.

  2. #2
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,346
    Depends, where these clients come from:
    - internet: you need to register a domain. In that process, DNServers need to be defined.
    - internal net: a) either an official domain like above, or b) the clients need to know which DNS to ask.
    You must always face the curtain with a bow.

  3. #3
    Just Joined!
    Join Date
    Sep 2009
    Posts
    25
    I am trying for internal net.

    How to do that?

    Is there anything to do on client machines.

    Or simply accessing on web browser of clients will do??

  4. #4
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,346
    There are 2.5 ways:
    1) The clients already have at least one nameserver defined, either manually or via dhcp.
    1a) add your zone/hosts to those existing nameserver(s), remove the bind from your webserver machine.
    1b) add a zone delegation to the already existing nameserver(s) and point them to the bind on your webserver machine.
    2) replace all entries for nameserver on the clients and point them to the bind on your webserver machine.
    You need to make sure, you dont break existing resolving here, be it other internal zones or for the internet.


    I would probably go for 1a), but it also depends on how your network looks like.
    You must always face the curtain with a bow.

  5. #5
    Just Joined!
    Join Date
    Sep 2009
    Posts
    25
    1(a)Option seems Ok to Me also.

    But why to remove BIND from webserver? Do u mean uninstall from webserver?

    Then how DNS will work? As it is installed on webserver machine.

    Please clear.

  6. #6
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,346
    For 1a) the already existing ns will serve your new zone/hosts.
    So no need for another nameserver on the same machine as the webserver.
    You must always face the curtain with a bow.

  7. #7
    Just Joined!
    Join Date
    Sep 2009
    Posts
    25
    The problem is solved. The solution was obvious. The client machines need to know which DNS ip to ask for.
    Now can you suggest best way how i can make all clients to know which DNS to use?

    Is there only one to manually enter at each client machine my DNS ip?

    Is there any other ways ?


    Krishna

  8. #8
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,346
    Usually the dns server(s) (along with default gateway, IP, netmask and possibly others) are centrally managed and distributed via dhcp.
    You must always face the curtain with a bow.

  9. #9
    Just Joined!
    Join Date
    Sep 2009
    Posts
    25
    Quote Originally Posted by Irithori View Post
    Usually the dns server(s) (along with default gateway, IP, netmask and possibly others) are centrally managed and distributed via dhcp.
    Thanks for replies.

    I agree and understood that it is DHCP server through which i can assign all networking parameters to a machine.

    Now my query is that is there any Robust DHCP servers in opensource. Please give some help to setup the same.


    Krishna

  10. #10
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,346
    There are several, ISCs is probably the most well known.
    DHCP | Internet Systems Consortium

    It is quite configurable and has good documentation and examples.
    You must always face the curtain with a bow.

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •