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

Setting up a DNS server

  • 13-06-2006 10:15AM
    #1
    Registered Users, Registered Users 2 Posts: 2,015
    ✭✭✭


    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.


Welcome!

It looks like you're new here. Sign in or register to get started.

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,015 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,775 niallb
    ✭✭✭


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

    NiallB


Welcome!

It looks like you're new here. Sign in or register to get started.
Advertisement