This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
convert_tinydns_data_format_to_zone_file_format_described_by_rfc_1035_bind-style [2019/02/05 12:27] admin [zone-list-master.tpl] |
convert_tinydns_data_format_to_zone_file_format_described_by_rfc_1035_bind-style [2020/04/08 21:28] admin |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Convert tinydns data format to zone file format described by RFC 1035 (bind-style) ====== | ====== Convert tinydns data format to zone file format described by RFC 1035 (bind-style) ====== | ||
+ | This simple script converts the content of tinydns' | ||
- | ===== Requirements ===== | ||
+ | ===== Requirements ===== | ||
* Access to tinydns' | * Access to tinydns' | ||
* [[https:// | * [[https:// | ||
===== Setting up axfrdns ===== | ===== Setting up axfrdns ===== | ||
- | Use [[https:// | + | Use [[https:// |
axfrdns-conf gaxfrdns gdnslog / | axfrdns-conf gaxfrdns gdnslog / | ||
+ | ln -s / | ||
+ | | ||
===== Conversion Script ===== | ===== Conversion Script ===== | ||
#!/bin/bash | #!/bin/bash | ||
Line 24: | Line 26: | ||
sed -e " | sed -e " | ||
done | done | ||
- | | ||
- | # This will generate list of the zones to be included used with the YADIFA dns server | ||
- | rm -f zone/ | ||
- | grep " | ||
- | sed -e " | ||
- | sed -e " | ||
- | done | ||
- | |||
- | ==== zone-list-master.tpl ==== | ||
- | < | ||
- | | ||
- | | ||
- | | ||
- | # | ||
- | </ | ||
- | | ||
- | |||
- | ==== zone-list-slave.tpl ==== | ||
- | < | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | </ | ||
- | | ||