DNS Questions

Discussion in 'General' started by collimic, Nov 8, 2010.

  1. collimic

    collimic New Member

    my server is working great but I want to add a few servers on my local network.
    The main server being server1.xyz.ltd and now I want to as server2 server3 and server4
    I can access them all by ip address but I need to find a way to access them via name.

    It would also be great if I could access them from the outside world by that name as well but I only have 1 public static IP.

    First and foremost I need to be able to type something like ping server 2 and not get ping: unknown host server2

    Then be able to type ping server2.xyz.ltd in my network and have it respond with something other then ping: unknown host server2.xyz.ltd

    Any help would be great.
    I have tried to update the xyz.local.db file but it still is not making any changes.

    Thank you in advance.
  2. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    You have to create A records for server2, server3, and server4 on the authoritative nameservers for xyz.ltd. You can find out the authoritative nameservers by running
    dig ns xyz.ltd

Share This Page