View definition

(*Transfer).In

Defined in github.com/miekg/dns/xfr.go

Description

In performs an incoming transfer with the server in a. If you would like to set the source IP, or some other attribute of a Dialer for a Transfer, you can do so by specifying the attributes in the Transfer.Conn:

d := net.Dialer{LocalAddr: transfer_source}
con, err := d.Dial("tcp", master)
dnscon := &dns.Conn{Conn:con}
transfer = &dns.Transfer{Conn: dnscon}
channel, err := transfer.In(message, master)

In is referenced in 5 repositories

github.com/ozym/zone github.com/miekg/coredns github.com/miekg/exdns

...