Skip to content

dmyerscough/BIND-RESTful

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BIND-RESTful

BIND RESTful API to perform dynamic DNS updates and display the entire zone file.

Show Entire Zone

The simple GET request will cause a zone transfer to occur and will provide JSON output for an entire zone file

curl http://127.0.0.1:5000/dns/zone/internal.net

Create DNS Entry

The simple POST request will create a domain called 'mynewhost.internal.net' with the IP address of 192.168.0.15

curl -i -H "Content-Type: application/json" -X POST http://127.0.0.1:5000/dns/record/mynewhost.internal.net/300/A/192.168.0.15

Update DNS Entry

The simple PUT request updates the 'mynewhost.internal.net' to 192.168.0.13

curl -i -H "Content-Type: application/json" -X PUT http://127.0.0.1:5000/dns/record/mynewhost.internal.net/300/A/192.168.0.13

About

BIND RESTful API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published