Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Setting up a DNS server

  • 13-06-2006 9:15am
    #1
    Registered Users, Registered Users 2 Posts: 2,032 ✭✭✭


    I've got a linux box here which I use for dev and other bits and bobs, and I want to use it as a DNS server as well.

    How would I go about setting it up as a DNS server, so that if I type in http://dev01 or http://intranet it would resolve to the correct IP of the boxes?

    I know how to setup my router to point to a DNS server, just not sure how I would set up the DNS on the box to handle this.

    Any help greatly appreciated.


Comments

  • Closed Accounts Posts: 60 ✭✭goldilocked


    Have a look at the DNS howto...
    http://www.linux.org/docs/ldp/howto/DNS-HOWTO.html

    If you just want to be able to resolve these domain names locally on the linux box you can add entries in your "/etc/hosts" file (see man hosts). If you want this box to act as a DNS server for other machines to resolve these names, set up a "caching name server" as per the Howto.


  • Registered Users, Registered Users 2 Posts: 2,032 ✭✭✭colm_c


    Caching name server is what I'm looking for...


  • Closed Accounts Posts: 60 ✭✭goldilocked


    Here's another link http://www.freeos.com/articles/3956/

    Set up the caching name server and then have a look at how the individual records are added.


  • Registered Users, Registered Users 2 Posts: 2,755 ✭✭✭niallb


    Take a look at dnsmasq.
    It should do what you need.

    NiallB


Advertisement