Skip to content

Commit 607fd20

Browse files
committed
Fixes record type to rfc compliant SOA
1 parent 39418e2 commit 607fd20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,6 @@ fn send_notify(mut io_loop: Core, addr: SocketAddr, name: domain::Name) -> Clien
146146
let (stream, sender) = UdpClientStream::new(addr, io_loop.handle());
147147
let mut client = ClientFuture::new(stream, sender, io_loop.handle(), None);
148148

149-
io_loop.run(client.notify(name.clone(), DNSClass::IN, RecordType::A, None::<RecordSet>))
149+
io_loop.run(client.notify(name.clone(), DNSClass::IN, RecordType::SOA, None::<RecordSet>))
150150
}
151151

0 commit comments

Comments
 (0)