| ||||||||||
| Line: 26 to 26 | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Enter ViDns. | ||||||||||
| Changed: | ||||||||||
| < < |
With ViDns, this is simplified tremendously to one single command: vidns honeypot.net. It appends the three zone files together into one file (separated by highly visible comments), calls an editor to allow altering the file(s), splits out the results into the original three zone files, updates the serial number of every file that was changes, and writes out only the changes zone files. The editing process, then, is changed to: | |||||||||
| > > |
With ViDns, this is simplified tremendously to one single command: vidns honeypot.net. It appends the three zone files together into one file (separated by highly visible comments), calls an editor to allow altering the file(s), splits out the results into the original three zone files, updates the serial number of every file that was changes, and writes out only the changes zone files. The editing process, then, is changed to:
| |||||||||
| ||||||||||
| Line: 35 to 35 | ||||||||||
Usage | ||||||||||
| Added: | ||||||||||
| > > |
Edit all of the zone files comprising a domain | |||||||||
vidns domain.com vidns db.domain.com | ||||||||||
| Added: | ||||||||||
| > > |
Edit only one zone file | |||||||||
vidns storage/domain.com | ||||||||||
| Added: | ||||||||||
| > > |
Update the serial numbers in a domain's zone files without editing themvidns -u domain.com | |||||||||
Why ViDns?For "normal" zones | ||||||||||
| Line: 52 to 61 | ||||||||||
For the future | ||||||||||
| Changed: | ||||||||||
| < < |
ViDns was written in such a way that it would be very easy to add a syntax checker into pipeline at a later date. | |||||||||
| > > |
ViDns was written in such a way that it would be very easy to add a syntax checker into the pipeline at a later date. | |||||||||
Notes | ||||||||||
| Line: 64 to 73 | ||||||||||
| Changed: | ||||||||||
| < < |
| |||||||||
| > > |
Changes
| |||||||||
| Added: | ||||||||||
| > > |
-- KirkStrauser - 08 Sep 2003 | |||||||||
| ||||||||||
| Changed: | ||||||||||
| < < |
| |||||||||
| > > |
| |||||||||
| Line: 1 to 1 | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Added: | ||||||||||||||||
| > > |
Normal and complex zonesIn an ideal world, there would be a one-to-one correspondence between zone files and domain names. In reality, this isn't adequate. For example, suppose that an entity wishes to have separate "views" of their DNS namespace depending on whether the system asking for an address is on the company LAN or the InterNet?. In this case, a domain may be represented by more than one zone file: one for queries from the InterNet?, and one for internal queries. Furthermore, if the views differ only slightly (say that only one or two hosts in a domain differ, and the rest are the same), then the zone files may include the contents of a file common between them, and only specify the records that are dissimilar.A real-world exampleSubwiki is part of the honeypot.net domain. The server it lives on, and other computers on the same LAN, are behind a NatFirewall? and have PrivateAddresses?. When a computer on the LAN requests the address of "subwiki.honeypot.net", they are expecting the answer to be "10.0.5.16". However, when would-be visitors from the InterNet? look up "subwiki.honeypot.net", they are looking for the PublicAddress? "208.162.254.122". To complicate matters, honeypot.net also supports IpV6, and those addresses are the same regardless of what machine is asking for them. To fully represent the domain, three files are used:
vidns honeypot.net. It appends the three zone files together into one file (separated by highly visible comments), calls an editor to allow altering the file(s), splits out the results into the original three zone files, updates the serial number of every file that was changes, and writes out only the changes zone files. The editing process, then, is changed to:
Usagevidns domain.com vidns db.domain.com vidns storage/domain.com Why ViDns?For "normal" zones
For "complex" zones
For the futureViDns was written in such a way that it would be very easy to add a syntax checker into pipeline at a later date.NotesViDns was written for the personal use of KirkStrauser to simplify the task of routine updates to DNS records on a FreeBSD server. Although it may readily be adapted to other settings, minor changes will probably be required.
| |||||||||||||||