mirror of
https://github.com/coredns/coredns.git
synced 2025-12-07 19:05:19 -05:00
Implement a DNS zone
Full implementation, DNS (and in the future DNSSEC). Returns answer in a hopefully standards compliant way. Testing with my miek.nl zone are included as well. This should correctly handle nodata, nxdomain and cnames.
This commit is contained in:
@@ -179,11 +179,3 @@ func (s State) ErrorMessage(rcode int) *dns.Msg {
|
||||
m.SetRcode(s.Req, rcode)
|
||||
return m
|
||||
}
|
||||
|
||||
// AnswerMessage returns an error message suitable for sending
|
||||
// back to the client.
|
||||
func (s State) AnswerMessage() *dns.Msg {
|
||||
m := new(dns.Msg)
|
||||
m.SetReply(s.Req)
|
||||
return m
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user