Skip to content

DNS UPDATE implementation for libdns

License

Notifications You must be signed in to change notification settings

libdns/dnsupdate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go Reference

This package implements the libdns interfaces for the DNS UPDATE and DNS AXFR protocols, allowing you to manage DNS records.

DNS AXFR is used to list DNS records. DNS UPDATE is used to append, set and delete records.

Usage

The DNS server needs to accept DNS transfer and update requests from the host where libdns is used.

Example Knot configuration

This example configuration allows libdns usage from localhost.

acl:
  - id: local
    address: [127.0.0.1, ::1]
    action: [transfer, update]
zone:
  - domain: example.com
    acl: [local]

Example bind configuration

This example configuration allows libdns usage from localhost.

allow-transfer { 127.0.0.1; };
allow-update { 127.0.0.1; };

Caveats

DNS doesn't have a concept of unique identifier for each record. The DNS UPDATE protocol doesn't support duplicate records (two records with the exact same header and value).

About

DNS UPDATE implementation for libdns

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages