RA doesn't need CAASERVFAILExceptions. (#1992)

In #1971 we added the CAASERVFAILExceptions config field and argument to NewDNSResolverImpl. This argument only needs to be passed to the VA, where we do CAA validations. However, I accidentally added code to the RA as well to use this new config field. This changes backs that out.
This commit is contained in:
Jacob Hoffman-Andrews 2016-06-29 11:23:58 -07:00 committed by GitHub
parent fd095b8881
commit 55657fad0d
1 changed files with 1 additions and 3 deletions

View File

@ -68,13 +68,11 @@ func main() {
if dnsTries < 1 {
dnsTries = 1
}
caaSERVFAILExceptions, err := bdns.ReadHostList(c.VA.CAASERVFAILExceptions)
cmd.FailOnError(err, "Couldn't read CAASERVFAILExceptions file")
if !c.Common.DNSAllowLoopbackAddresses {
rai.DNSResolver = bdns.NewDNSResolverImpl(
raDNSTimeout,
[]string{c.Common.DNSResolver},
caaSERVFAILExceptions,
nil,
scoped,
clock.Default(),
dnsTries)