AFP548 Changing the world one server at a time.

dns setup

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #358130
    bustthis
    Participant

    i mostly used your examples and i plan to change them a little, i didn’t expect it to work 🙂

    ok, this is db.charles-x;

    ;
    ; Name servers
    ;
    charles-x.com. IN NS server.charles-x.com.

    ;
    ; Addresses for the canonical names
    ;
    localhost.charles-x.com. IN A 127.0.0.1
    server.charles-x.com. IN A 10.0.1.201
    workstation1.charles-x.com. IN A 10.0.1.3
    workstation2.charles-x.com. IN A 10.0.1.4
    dhcp1.charles-x.com. IN A 10.0.1.101
    dhcp2.charles-x.com. IN A 10.0.1.102
    dhcp3.charles-x.com. IN A 10.0.1.103
    dhcp4.charles-x.com. IN A 10.0.1.104
    dhcp5.charles-x.com. IN A 10.0.1.105
    gateway.charles-x.com. IN A 10.0.1.1

    ;
    ; Aliases
    ;
    mail.charles-x.com. IN CNAME server.charles-x.com.
    http://www.charles-x.com. IN CNAME server.charles-x.com.
    test.charles-x.com. IN CNAME server.charles-x.com.
    mylaptop.charles-x.com. IN CNAME workstation2.charles-x.com.

    and db.10.0.1:
    1.0.10.in-addr.arpa. IN SOA server.charles-x.com. serveradmin.charles-x.com. (
    2004053000 ; Serial
    10800 ; Refresh after 3 hours
    3600 ; Retry after 1 hour
    604800 ; Expire after 1 week
    86400 ) ; Minimum TTL of 1 day

    ;
    ; Name servers
    ;
    1.0.10.in-addr.arpa. IN NS server.charles-x.com.

    ;
    ; Addresses point to canonical name
    ;
    1.1.0.10.in-addr.arpa. IN PTR gateway.charles-x.com.
    201.1.0.10.in-addr.arpa. IN PTR server.charles-x.com.
    3.1.0.10.in-addr.arpa. IN PTR workstation1.charles-x.com.
    4.1.0.10.in-addr.arpa. IN PTR workstation2.charles-x.com.
    101.1.0.10.in-addr.arpa. IN PTR dhcp1.charles-x.com.
    102.1.0.10.in-addr.arpa. IN PTR dhcp2.charles-x.com.
    103.1.0.10.in-addr.arpa. IN PTR dhcp3.charles-x.com.
    104.1.0.10.in-addr.arpa. IN PTR dhcp4.charles-x.com.
    105.1.0.10.in-addr.arpa. IN PTR dhcp5.charles-x.com.

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.