From 607fd209e6b1f6f968f6ec40a57a88d1380019c6 Mon Sep 17 00:00:00 2001 From: Lukas Pustina Date: Wed, 11 Jan 2017 12:48:02 +0100 Subject: [PATCH] Fixes record type to rfc compliant SOA --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 5915c14..b2ad89e 100644 --- a/src/main.rs +++ b/src/main.rs @@ -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::)) + io_loop.run(client.notify(name.clone(), DNSClass::IN, RecordType::SOA, None::)) }