diff --git a/README.md b/README.md index 79a2a88..47df09e 100644 --- a/README.md +++ b/README.md @@ -2,51 +2,28 @@ This plugin gets an A record from NetBox[1]. It uses the REST API of netbox to ask for a an IP address of a hostname: + ``` curl https://netbox.example.org/api/ipam/ip-addresses/?dns_name=example-vm-host - - { "count": 1, "next": null, "previous": null, "results": [ { - "id": 426, "family": { "value": 4, "label": "IPv4" }, "address": "192.168.1.101/25", - "vrf": null, - "tenant": null, - "status": { - "value": 1, - "label": "Active" - }, - "role": null, "interface": { "id": 452, "url": "https://netbox.example.org/api/virtualization/interfaces/452/", - "device": null, "virtual_machine": { - "id": 10, "url": "https://netbox.example.org/api/virtualization/virtual-machines/10/", - "name": "VM22" }, - "name": "ens12" - }, - "nat_inside": null, - "nat_outside": null, - "dns_name": "vm22-jump-host", - "description": "", - "tags": [], - "custom_fields": { - "dhcp_route": null }, - "created": "2020-03-04", - "last_updated": "2020-03-04T16:57:07.375937Z" } ] } @@ -74,6 +51,19 @@ Then add it to Corefile: ``` The config parameters are mandatory. + +## Changelog + +0.2 - Cleanup add IPv6 support + + * Refactor query.go + * Add tests for IPv6 + * Enable IPv6 in ``query.go`` + +0.1 - Initial Naive release + + * Got it somehow working + * Gather feedback ## Developing locally You can test the plugin functionallity with CoreDNS by adding the following to