Adjusted Readme to reflect code changes

This commit is contained in:
Neshura 2023-12-26 04:09:18 +01:00
parent 445b22fecd
commit fbf31a4115
Signed by: Neshura
GPG key ID: B6983AAA6B9A7A6C

View file

@ -21,11 +21,11 @@ Example:
*interfaces.toml* *interfaces.toml*
```toml ```toml
host_address = ":edcb:a098:7654:3210" host_address = "::edcb:a098:7654:3210"
[[interface]] [[interface]]
name = "example-interface-1" # this is what a user inputs in the zone.toml name = "example-interface-1" # this is what a user inputs in the zone.toml
address = ":0123:4567:890a:bcde" # static part of the IP, the rest will be dynamically generated using the host address = "::0123:4567:890a:bcde" # static part of the IP, the rest will be dynamically generated using the host
``` ```
*zone.d/example.org.toml* *zone.d/example.org.toml*
@ -36,7 +36,7 @@ id = "01234567890abcdefghijklmnopqrstu" # Zone ID
[[entry]] [[entry]]
name = "example.org" # "@" Symbol is not currently supported name = "example.org" # "@" Symbol is not currently supported
rtype = 10 # Options are: "4" (only IPv4/A Record), "6" (only IPv6/AAAA Record) and "10" (both) type = ["AAAA", "A"] # Options are: "A" (IPv4/A Record) and/or "AAAA" (IPv6/AAAA Record)
interface = "example-interface-1" # Only required on type values 6 and 10 interface = "example-interface-1" # Only required on type values 6 and 10
``` ```