-->

DEVOPSZONES

  • Recent blogs

    How to delegate a domain to another Name Server in Bind?

    How to delegate a domain to another Name Server in Bind?

    1. Edit the parent domain DNS file.
    2. Remove the A record if any.
    3. Declare the domain and NS records.

    $ORIGIN in.example.com.
    $TTL 600        ; 10 minutes
    @                       NS      ns1.p17.dynect.net.
    @                       NS      ns2.p17.dynect.net.
    @                       NS      ns3.p17.dynect.net.
    @                       NS      ns4.p17.dynect.net.

    4. Save and exit Files.
    5. Check the zone file for configuraion errors.
    named-checkzone example.com example.com.dns

    6. Reload the named service.
    service named reload

    7. Check if the changes are reflected or not.

    [root@dnsserver ~]# dig in.example.com


    ;; QUESTION SECTION:
    ;in.example.com.               IN      A

    ;; ANSWER SECTION:
    in.example.com.        900     IN      A       104.108.15.16

    ;; AUTHORITY SECTION:
    in.example.com.        600     IN      NS      ns4.p17.dynect.net.
    in.example.com.        600     IN      NS      ns1.p17.dynect.net.
    in.example.com.        600     IN      NS      ns2.p17.dynect.net.
    in.example.com.        600     IN      NS      ns3.p17.dynect.net.



    No comments