mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
NEW FEATURE: Support Split Horizon DNS (#1034)
* Implement main feature * BIND: Permit printf-like file name formats * BIND: Make filenameformat work forwards and backwards. * Fix extrator test cases
This commit is contained in:
@ -112,10 +112,10 @@ func run(args PreviewArgs, push bool, interactive bool, out printer.CLI) error {
|
||||
totalCorrections := 0
|
||||
DomainLoop:
|
||||
for _, domain := range cfg.Domains {
|
||||
if !args.shouldRunDomain(domain.Name) {
|
||||
if !args.shouldRunDomain(domain.UniqueName) {
|
||||
continue
|
||||
}
|
||||
out.StartDomain(domain.Name)
|
||||
out.StartDomain(domain.UniqueName)
|
||||
nsList, err := nameservers.DetermineNameservers(domain)
|
||||
if err != nil {
|
||||
return err
|
||||
|
Reference in New Issue
Block a user