Skip to content

Commit

Permalink
Fixes record type to rfc compliant SOA
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaspustina committed Jan 11, 2017
1 parent 39418e2 commit 607fd20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,6 @@ fn send_notify(mut io_loop: Core, addr: SocketAddr, name: domain::Name) -> Clien
let (stream, sender) = UdpClientStream::new(addr, io_loop.handle());
let mut client = ClientFuture::new(stream, sender, io_loop.handle(), None);

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

0 comments on commit 607fd20

Please sign in to comment.