Results 1 to 2 of 2
  1. #1

    Mapping a Domain Name to a IP


    I am wondering to map a domain to a ip would I need to edit DNS zones ?


    Portal DNS name (

    DNS name (

    FTP DNS Name (

  2. #2
    Join Date
    Jun 2002
    Sydney, Australia
    You would need to setup an record on the nameserver that is authoritative for those IP addresses.

    As an example, our internal network has IPs in the range 10.1.x.x (subnet Basically the IP addresses are reversed, so for 10.1.x.x we have a zone "1.10.IN-ADDR.ARPA", then we have a zone file that looks something like:

    $TTL 604800

    @ IN SOA localhost. root.localhost. (
    2000101001 ; serial
    3600 ; refresh
    900 ; retry
    1209600 ; expire
    43200 ; default_ttl

    @ IN NS

    ; Routers and necessary network (10.1.0.x)

    1.0 IN PTR
    2.0 IN PTR
    253.0 IN PTR
    254.0 IN PTR

    ; Network Servers in DC1 (10.1.1.x)

    1.1 IN PTR
    2.1 IN PTR
    3.1 IN PTR


    Then, you'll need to put something in your named.conf like:
    zone "1.10.IN-ADDR.ARPA"{
    type master;
    file "10.1";
    notify no;

    This of course assumes you have access to the DNS servers that are authoritative for your IPs. If you don't, you'll have to get the datacentre to do it.

    I hope that helps a bit. If you need any parts clarified, just ask!

    Shaun Ewing

Posting Permissions

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