lost and found ( for me ? )

Showing posts with label bind. Show all posts
Showing posts with label bind. Show all posts

BIND9 : enable TSIG for zone transfers

install bind9 on both machines
# apt-get install bind9 bind9utils dnsutils –y

# named -v
BIND 9.9.5-3ubuntu0.1-Ubuntu (Extended Support Version)

[ notify, zone transfer without TSIG ]

master : 10.0.3.20
secondary : 10.0.3.21

master
zone "foo.com" {
       type master;
       file "/etc/bind/foo.com.db";
};

secondary
zone "foo.com" {
       type secondary;
       masters {
               10.0.3.20;
       };
       file "/etc/bind/foo.com.db";
};

Here is an output of capture after modifying RRs on the master and issue “rndc reload <zone>” on the master.

# tshark -n -r a.pcap
 1 0.000000000    10.0.3.20 -> 10.0.3.21    DNS 108 Zone change notification 0x2ea5  SOA foo.com
 2 0.000437000    10.0.3.21 -> 10.0.3.20    DNS 67 Zone change notification response 0x2ea5
 3 0.000782000    10.0.3.21 -> 10.0.3.20    DNS 78 Standard query 0xd20d  SOA foo.com
 4 0.001119000    10.0.3.20 -> 10.0.3.21    DNS 184 Standard query response 0xd20d  SOA ns01.foo.com
 5 0.001492000    10.0.3.21 -> 10.0.3.20    TCP 74 43380 > 53 [SYN] Seq=0 Win=29200 Len=0 MSS=1460 SACK_PERM=1 TSval=149206955 TSecr=0 WS=512
 6 0.001567000    10.0.3.20 -> 10.0.3.21    TCP 74 53 > 43380 [SYN, ACK] Seq=0 Ack=1 Win=28960 Len=0 MSS=1460 SACK_PERM=1 TSval=149206955 TSecr=149206955 WS=512

No1
the master sends notification to the secondary

No2.
the secondary send the reply.

No.3
the salve asks for SOA serial number.

No.4
the secondary gets the serial number from the master

No.5
the secondary executed zone transfer over TCP

[ notify, zone transfer with TSIG ]

generate a TSIG key on the master.
# dnssec-keygen -r /dev/urandom -a hmac-sha1 -b 128 -n HOST
ns1-ns2

# cat Kns1-ns2.+161+31946.private
Private-key-format: v1.3
Algorithm: 161 (HMAC_SHA1)
Key: xAQ6MiBa7ltvOyGKxgMTcw==

/etc/bind/named.conf.options ( master )
key "ns1-ns2" {
       algorithm HMAC-SHA1;
       secret "xAQ6MiBa7ltvOyGKxgMTcw==";
};

/etc/bind/named.conf.default-zones ( master )
zone "bar.com" {
       type master;
       file "/etc/bind/bar.com.db";
       allow-transfer {
               key "ns1-ns2";
       };
};

on the secondary

/etc/bind/named.conf.options
key "ns1-ns2" {
       algorithm HMAC-SHA1;
       secret "xAQ6MiBa7ltvOyGKxgMTcw==";
};

server 10.0.3.20 {
       keys { ns1-ns2; };
};

zone "bar.com" {
       type slave;
       masters {
               10.0.3.20;
       };
       file "/etc/bind/bar.com.db";
};

capture data after adding RRs on the master and issuing “rndc reload <zone>”
# tshark -nn -r aa.pcap
 1 0.000000000    10.0.3.20 -> 10.0.3.21    DNS 108 Zone change notification 0x32f0  SOA bar.com
 2 0.000480000    10.0.3.21 -> 10.0.3.20    DNS 67 Zone change notification response 0x32f0
 3 0.000963000    10.0.3.21 -> 10.0.3.20    DNS 144 Standard query 0x66af  SOA bar.com
 4 0.001314000    10.0.3.20 -> 10.0.3.21    DNS 250 Standard query response 0x66af  SOA ns01.bar.com
 5 0.001686000    10.0.3.21 -> 10.0.3.20    TCP 74 33515 > 53 [SYN] Seq=0 Win=29200 Len=0 MSS=1460 SACK_PERM=1 TSval=149893688 TSecr=0 WS=512
 6 0.001748000    10.0.3.20 -> 10.0.3.21    TCP 74 53 > 33515 [SYN, ACK] Seq=0 Ack=1 Win=28960 Len=0 MSS=1460 SACK_PERM=1 TSval=149893688 TSecr=149893688 WS=512
 7 0.001774000    10.0.3.21 -> 10.0.3.20    TCP 66 33515 > 53 [ACK] Seq=1 Ack=1 Win=29696 Len=0 TSval=149893688 TSecr=149893688
 8 0.002020000    10.0.3.21 -> 10.0.3.20    DNS 200 Standard query 0xe2df  IXFR bar.com
 9 0.002072000    10.0.3.20 -> 10.0.3.21    TCP 66 53 > 33515 [ACK] Seq=1 Ack=135 Win=30208 Len=0 TSval=149893689 TSecr=149893689
10 0.002517000    10.0.3.20 -> 10.0.3.21    DNS 342 Standard query response 0xe2df  SOA ns01.bar.com NS ns01.bar.com NS ns02.bar.com A 10.0.3.20 A 10.0.3.21 A 127.0.0.1 A 127.0.0.1 SOA ns01.bar.com
11 0.002543000    10.0.3.21 -> 10.0.3.20    TCP 66 33515 > 53 [ACK] Seq=135 Ack=277 Win=30720 Len=0 TSval=149893689 TSecr=149893689

TSIG keys are included in the following packets. ( SOA, zone transfer )

No4.,No.5 ( SOA )
# tshark -n -r aa.pcap -Y '(frame.number==3 or frame.number=
=4)' -V | grep -i tsig
       ns1-ns2: type TSIG, class ANY
           Type: TSIG (Transaction Signature)
       ns1-ns2: type TSIG, class ANY
           Type: TSIG (Transaction Signature)

No.8, No.10 ( zone transfer )
# tshark -n -r aa.pcap -Y '(frame.number==8 or frame.number=
=10)' -V | grep -i tsig
       ns1-ns2: type TSIG, class ANY
           Type: TSIG (Transaction Signature)
       ns1-ns2: type TSIG, class ANY
           Type: TSIG (Transaction Signature)

[ simulate AXFR, IXFR with dig ]

- without TSIG

AXFR
# dig @10.0.3.20 foo.com axfr

IXFR ( ixfr=<serial number> )
# dig @10.0.3.20 foo.com ixfr=10

- with TSIG

AXFR
dig @10.0.3.20 -y hmac-sha1:ns1-ns2:xAQ6MiBa7ltvOyGKxgMTcw== bar.com axfr

IXFR
# dig @10.0.3.20 -y hmac-sha1:ns1-ns2:xAQ6MiBa7ltvOyGKxgMTcw== bar.com ixfr=10

BIND : Response Rate Limiting ( RRL )

about RRL
http://www.redbarn.org/dns/ratelimits

RRL function could mitigate DDoS attacks such DNS amplification attack.

[ install ]

When using RRL , you need to apply the RRL patch.

download BIND9.9.2 source and download the patch for BIND 9.9.2


# ls *9.9.2*
bind-9.9.2.tar.gz  rl-9.9.2.patch

# head -3 rl-9.9.2.patch
diff -r -u bin/named/client.c-orig bin/named/client.c
--- bin/named/client.c-orig     2004-01-01 00:00:00.000000000 +0000
+++ bin/named/client.c  2004-01-01 00:00:00.000000000 +0000


I stored the files like this :
BIND_works/bind-9.9.2 <- bind source
BIND_works/rl-9.9.2.patch <- patch file

# tar xzvf bind-9.9.2.tar.gz
# cd bind-9.9.2

# patch -p0 -l < ../rl-9.9.2.patch
patching file bin/named/client.c
patching file bin/named/config.c
patching file bin/named/include/named/query.h
patching file bin/named/include/named/server.h
patching file bin/named/query.c
patching file bin/named/server.c
patching file bin/named/statschannel.c
patching file bin/tests/system/README
patching file bin/tests/system/conf.sh.in
patching file bin/tests/system/rrl/clean.sh
patching file bin/tests/system/rrl/ns1/named.conf
patching file bin/tests/system/rrl/ns1/root.db
patching file bin/tests/system/rrl/ns2/hints
patching file bin/tests/system/rrl/ns2/named.conf
patching file bin/tests/system/rrl/ns2/tld2.db
patching file bin/tests/system/rrl/ns3/hints
patching file bin/tests/system/rrl/ns3/named.conf
patching file bin/tests/system/rrl/ns3/tld3.db
patching file bin/tests/system/rrl/setup.sh
patching file bin/tests/system/rrl/tests.sh
patching file doc/arm/Bv9ARM-book.xml
patching file lib/dns/Makefile.in
patching file lib/dns/include/dns/log.h
patching file lib/dns/include/dns/rrl.h
patching file lib/dns/include/dns/view.h
patching file lib/dns/log.c
patching file lib/dns/rrl.c
patching file lib/dns/view.c
patching file lib/isccfg/namedconf.c
patching file version

# ./configure --sysconfdir=/etc --enable-threads
# make
# make install

# /usr/local/sbin/named -V
BIND 9.9.2-vjs287.12 built with '--sysconfdir=/etc' '--enable-threads'
using OpenSSL version: OpenSSL 1.0.0 29 Mar 2010


[ example usage ]

about rate-limit options
http://www.rhyolite.com/temp/rl-arm.html

named.conf
add rate-limit options within options statement.
options {
<snip>
       rate-limit {
               responses-per-second 25;
               window 5;
       };

};


run named
# /usr/local/sbin/named -n 1 -c /etc/named.conf


build queryperf which is DNS stressing tool
# cd bind-9.9.2/contrib/queryperf/
# sh configure;make


prepare query list.
# head -3 query_list.txt
www.google.com a
www.google.com a
www.google.com a

# wc -l query_list.txt
186 query_list.txt


run queryperf
# ./queryperf -s 127.0.0.1 -d query_list.txt

DNS Query Performance Testing Tool
Version: $Id: queryperf.c,v 1.12 2007/09/05 07:36:04 marka Exp $

[Status] Processing input data
[Status] Sending queries (beginning with 127.0.0.1)
[Timeout] Query timed out: msg id 5
[Timeout] Query timed out: msg id 6
[Timeout] Query timed out: msg id 7


BIND dropped queries due to rate-limit functions.
# tail -f /var/log/messages
Nov 17 15:06:42 centos6 named[21477]: clients-per-query increased to 15
Nov 17 15:06:42 centos6 named[21477]: limit responses to 127.0.0.0/24 for www.google.com IN A  (009a525d)


rndc stats
[View: _bind]
++ Name Server Statistics ++
             189337 IPv4 requests received
             123808 responses sent
              65419 truncated responses sent
              58389 queries resulted in successful answer
             123808 queries resulted in non authoritative answer
              65419 queries resulted in nxrrset
                120 queries caused recursion
              65529 queries dropped
              65419 responses dropped for rate limits
              65419 responses truncated for rate limits



only outputs logs , not drop queries
       rate-limit {
             responses-per-second 25;
               window 5;
               log-only yes;
       };


syslog
Nov 17 15:30:44 centos6 named[21547]: would stop limiting responses to 127.0.0.0/24 for www.google.com IN A  (009a525d)
Nov 17 15:30:44 centos6 named[21547]: would limit responses to 127.0.0.0/24 for www.google.com IN A  (009a525d)


no queries drop occurred
./queryperf -s 127.0.0.1 -d query_list.txt

DNS Query Performance Testing Tool
Version: $Id: queryperf.c,v 1.12 2007/09/05 07:36:04 marka Exp $

[Status] Processing input data
[Status] Sending queries (beginning with 127.0.0.1)
[Status] Testing complete

Statistics:

 Parse input file:     once
 Ended due to:         reaching end of file

 Queries sent:         9886 queries
 Queries completed:    9886 queries
 Queries lost:         0 queries
 Queries delayed(?):   0 queries

 RTT max:              0.001459 sec
 RTT min:              0.000284 sec
 RTT average:          0.001276 sec
 RTT std deviation:    0.000038 sec
 RTT out of range:     0 queries

 Percentage completed: 100.00%
 Percentage lost:        0.00%

 Started at:           Mon Nov 17 15:30:44 2012
 Finished at:          Mon Nov 17 15:30:45 2012
 Ran for:              0.636092 seconds

 Queries per second:   15541.776976 qps

BIND caching servers like slower Auth servers ?

I’ve found an interesting document about BIND recursive servers.

--
Authority Server Selection of DNS Caching Resolvers
http://irl.cs.ucla.edu/data/files/papers/res_ns_selection.pdf
--

Seen from this document , BIND Caching Name Servers seem to like slower Authoritative Name servers.

I checked this behavior with BIND and unbound.
Here’s the result I did.

[ recursive server info ]

I installed bind and unbound with apt-get.

# lsb_release –a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 12.04.1 LTS
Release:        12.04
Codename:       precise

# uname -ri
3.5.0-030500-generic x86_64

# rndc status | head -1
version: 9.8.1-P1

# unbound-control status | head -1
version: 1.4.16


[ conditions ]

I have prepared four auth servers.
queryperf sent unique 3,000 DNS queries to the recursive sever and I counted # of DNS queries which is sent to the Auth servers from BIND/unbound caching name server.
queryperf -- recursive server -- ns1.foobar.com ( no delay )
                          -- ns2.foobar.com ( delay 50msec )
                          -- ns3.foobar.com ( delay 500 msec )
                          -- ns4.foobar.com ( delay 1000 msec )


[ results ]

# of queries sent to Auth servers from BIND or unbound
ns1.foobar.com
no delay
ns2.foobar.com
delay 50msec
ns3.foobar.com
delay 500msec
ns4.foobar.com
delay 1000msec
BIND 9.8.1-P12472130425603
Unbound 1.4.16148015094643


In my testing result , BIND seems to like slower Auth servers..
total # of queries BIND/unbound sent to the Auth servers is more than 3,000 queries.
I guess this was caused by retransmission DNS queries.

Please note that this result might differ from the testing conditions.

Cache DNS : How BIND or unbound handles Auth servers that return SERVFAIL or unreachable

caching server ( BIND 9.9.1 or unbound 1.4.7 )
    |
internal root
    |
internal com
    |
aaaa.com ( two name servers : ns1.aaaa.com and ns2.aaaa.com )

[ when ns1.aaaa is unreachable and ns2.aaaa.com works well ]

- unbound 1.4.7

After unbound detects ns1.aaaa.com is unreachable , unbund does name resolutions for given queries to ns2.aaaa.com

unbound 1.4.7ns1.aaaa.comns2.aaaa.com
unbound sends queries to ns2.aaaa.com and does not send queries to ns1.aaaa.com for 900 seconds.unreachableworks well


Here’s a cap date on ns1.aaaa.com and ns2.aaaa.com

Seen from the cap date , unbound does send queries to a auth server that is unreachable for 900 seconds.

the cap date on ns1.example.com ( unbound 192.168.0.1 , ns1.example.com : 192.168.0.2 )
 0.000000 192.168.0.1 -> 192.168.0.2 DNS 81 Standard query A 3.aaaa.com
 0.300048 192.168.0.1 -> 192.168.0.2 DNS 81 Standard query A 6.aaaa.com
 0.376270 192.168.0.1 -> 192.168.0.2 DNS 81 Standard query A 3.aaaa.com
 0.400006 192.168.0.1 -> 192.168.0.2 DNS 81 Standard query A 7.aaaa.com
 0.499946 192.168.0.1 -> 192.168.0.2 DNS 81 Standard query A 8.aaaa.com
 0.676344 192.168.0.1 -> 192.168.0.2 DNS 81 Standard query A 6.aaaa.com
 0.700079 192.168.0.1 -> 192.168.0.2 DNS 82 Standard query A 10.aaaa.com
 0.776033 192.168.0.1 -> 192.168.0.2 DNS 81 Standard query A 7.aaaa.com
 0.876223 192.168.0.1 -> 192.168.0.2 DNS 81 Standard query A 8.aaaa.com
 1.076093 192.168.0.1 -> 192.168.0.2 DNS 82 Standard query A 10.aaaa.com
900.103775 192.168.0.1 -> 192.168.0.2 DNS 84 Standard query A 9004.aaaa.com
900.202465 192.168.0.1 -> 192.168.0.2 DNS 84 Standard query A 9005.aaaa.com
900.302595 192.168.0.1 -> 192.168.0.2 DNS 84 Standard query A 9006.aaaa.com
900.402598 192.168.0.1 -> 192.168.0.2 DNS 84 Standard query A 9007.aaaa.com
900.478800 192.168.0.1 -> 192.168.0.2 DNS 84 Standard query A 9004.aaaa.com
900.502539 192.168.0.1 -> 192.168.0.2 DNS 84 Standard query A 9008.aaaa.com
900.578741 192.168.0.1 -> 192.168.0.2 DNS 84 Standard query A 9005.aaaa.com
900.678931 192.168.0.1 -> 192.168.0.2 DNS 84 Standard query A 9006.aaaa.com
900.702667 192.168.0.1 -> 192.168.0.2 DNS 84 Standard query A 9010.aaaa.com
900.778874 192.168.0.1 -> 192.168.0.2 DNS 84 Standard query A 9007.aaaa.com
900.802608 192.168.0.1 -> 192.168.0.2 DNS 84 Standard query A 9011.aaaa.com
900.878815 192.168.0.1 -> 192.168.0.2 DNS 84 Standard query A 9008.aaaa.com
901.078945 192.168.0.1 -> 192.168.0.2 DNS 84 Standard query A 9010.aaaa.com
901.178889 192.168.0.1 -> 192.168.0.2 DNS 84 Standard query A 9011.aaaa.com
1801.406816 192.168.0.1 -> 192.168.0.2 DNS 85 Standard query A 18017.aaaa.com
1801.505271 192.168.0.1 -> 192.168.0.2 DNS 85 Standard query A 18018.aaaa.com
1801.705396 192.168.0.1 -> 192.168.0.2 DNS 85 Standard query A 18020.aaaa.com
1801.781352 192.168.0.1 -> 192.168.0.2 DNS 85 Standard query A 18017.aaaa.com
1801.881550 192.168.0.1 -> 192.168.0.2 DNS 85 Standard query A 18018.aaaa.com
1802.005210 192.168.0.1 -> 192.168.0.2 DNS 85 Standard query A 18023.aaaa.com
1802.081428 192.168.0.1 -> 192.168.0.2 DNS 85 Standard query A 18020.aaaa.com
1802.105418 192.168.0.1 -> 192.168.0.2 DNS 85 Standard query A 18024.aaaa.com
1802.381504 192.168.0.1 -> 192.168.0.2 DNS 85 Standard query A 18023.aaaa.com
1802.481444 192.168.0.1 -> 192.168.0.2 DNS 85 Standard query A 18024.aaaa.com


the cap data on ns2.example.com  ( unbound 192.168.0.1 , ns2.example.com : 192.168.0.3 )
1799.914518 192.168.0.3 -> 192.168.0.1 DNS 169 Standard query response A 20.0.0.1
1800.014158 192.168.0.1 -> 192.168.0.3 DNS 85 Standard query A 18000.aaaa.com
1800.014471 192.168.0.3 -> 192.168.0.1 DNS 169 Standard query response A 20.0.0.1
1800.114129 192.168.0.1 -> 192.168.0.3 DNS 85 Standard query A 18001.aaaa.com
1800.114387 192.168.0.3 -> 192.168.0.1 DNS 169 Standard query response A 20.0.0.1
1800.214057 192.168.0.1 -> 192.168.0.3 DNS 85 Standard query A 18002.aaaa.com
1800.214286 192.168.0.3 -> 192.168.0.1 DNS 169 Standard query response A 20.0.0.1
1800.314254 192.168.0.1 -> 192.168.0.3 DNS 85 Standard query A 18003.aaaa.com
1800.314519 192.168.0.3 -> 192.168.0.1 DNS 169 Standard query response A 20.0.0.1
1800.414196 192.168.0.1 -> 192.168.0.3 DNS 85 Standard query A 18004.aaaa.com
1800.414471 192.168.0.3 -> 192.168.0.1 DNS 169 Standard query response A 20.0.0.1


- BIND 9.9.1
BIND 9.9.1ns1.aaaa.comns2.aaaa.com
BIND send queries to ns2.aaaa.com and does not send queries to ns1.aaaa.com for about 26 seconds.unreachableworks well


the cap data on ns1.aaaa.com ( BIND 192.168.0.1 , ns1.aaaa.com 192.168.0.2 )

Seen from the cap data , BIND doesn’t send queries to a auth server that is unreachable for about 26 seconds.
 0.000000 192.168.0.1 -> 192.168.0.2 DNS 81 Standard query A 0.aaaa.com
26.796635 192.168.0.1 -> 192.168.0.2 DNS 83 Standard query A 268.aaaa.com
53.496791 192.168.0.1 -> 192.168.0.2 DNS 83 Standard query A 535.aaaa.com
80.096511 192.168.0.1 -> 192.168.0.2 DNS 83 Standard query A 801.aaaa.com
106.596791 192.168.0.1 -> 192.168.0.2 DNS 84 Standard query A 1066.aaaa.com
132.896935 192.168.0.1 -> 192.168.0.2 DNS 84 Standard query A 1329.aaaa.com


the cap data on ns2.aaaa.com ( BIND 192.168.0.1 , ns2.aaaa.com 192.168.0.3 )
136.896846 192.168.0.1 -> 192.168.0.3 DNS 84 Standard query A 1369.aaaa.com
136.897086 192.168.0.3 -> 192.168.0.1 DNS 168 Standard query response A 20.0.0.1
136.996791 192.168.0.1 -> 192.168.0.3 DNS 84 Standard query A 1370.aaaa.com
136.997040 192.168.0.3 -> 192.168.0.1 DNS 168 Standard query response A 20.0.0.1
137.096980 192.168.0.1 -> 192.168.0.3 DNS 84 Standard query A 1371.aaaa.com
137.097250 192.168.0.3 -> 192.168.0.1 DNS 168 Standard query response A 20.0.0.1
137.196934 192.168.0.1 -> 192.168.0.3 DNS 84 Standard query A 1372.aaaa.com
137.197201 192.168.0.3 -> 192.168.0.1 DNS 168 Standard query response A 20.0.0.1



[ when ns1.aaaa retruns Servfail and ns2.aaaa.com works well ]

- unbound 1.4.7
unbound 1.4.7ns1.aaaa.comns2.aaaa.com
unbound sends queries to both auth servers ( ns1 , ns2 ) servfailworks well


the cap data on ns1.example.com ( unbound 192.168.0.1 , ns1.aaaa.com 192.168.0.2 )
 9.399682 192.168.0.1 -> 192.168.0.2 DNS 82 Standard query A 95.aaaa.com
 9.399781 192.168.0.2 -> 192.168.0.1 DNS 82 Standard query response, Server failure
 9.498891 192.168.0.1 -> 192.168.0.2 DNS 82 Standard query A 96.aaaa.com
 9.499177 192.168.0.2 -> 192.168.0.1 DNS 82 Standard query response, Server failure


the cap data on ns2.example.com ( unbound 192.168.0.1 , ns2.aaaa.com 192.168.0.3 )
 9.497516 192.168.0.1 -> 192.168.0.3 DNS 82 Standard query A 95.aaaa.com
 9.497938 192.168.0.3 -> 192.168.0.1 DNS 166 Standard query response A 1.1.1.1
 9.596960 192.168.0.1 -> 192.168.0.3 DNS 82 Standard query A 96.aaaa.com
 9.597224 192.168.0.3 -> 192.168.0.1 DNS 166 Standard query response A 1.1.1.1


- BIND 9.9.1
BIND 9.9.1ns1.aaaa.comns2.aaaa.com
BIND sends queries to both auth servers ( ns1 , ns2 )servfailworks well


the cap data on ns1.aaaa.com ( BIND 192.168.0.1 , ns1.aaaa.com 192.168.0.2 )
 0.000000 192.168.0.1 -> 192.168.0.2 DNS 81 Standard query A 0.aaaa.com
 0.000386 192.168.0.2 -> 192.168.0.1 DNS 81 Standard query response, Server failure
 0.294828 192.168.0.1 -> 192.168.0.2 DNS 81 Standard query A 3.aaaa.com
 0.295109 192.168.0.2 -> 192.168.0.1 DNS 81 Standard query response, Server failure


the cap data on ns2.aaaa.com  ( BIND 192.168.0.1 , ns1.aaaa.com 192.168.0.3 )
 0.000000 192.168.0.1 -> 192.168.0.3 DNS 81 Standard query A 0.aaaa.com
 0.000339 192.168.0.3 -> 192.168.0.1 DNS 165 Standard query response A 1.1.1.1
 0.093219 192.168.0.1 -> 192.168.0.3 DNS 81 Standard query A 1.aaaa.com
 0.093521 192.168.0.3 -> 192.168.0.1 DNS 165 Standard query response A 1.1.1.1