The .53 is normal for 18.04. It is called stub or what ever. If you look with netstat it will show that you have port 53 listening on 127.0.0.53. When that receives a dns request, it asks your dns servers in the background. My 18.04 works correctly like that.
Code:
darko@filesrv:~$ cat /etc/resolv.conf
# This file is managed by man:systemd-resolved(8). Do not edit.
#
# This is a dynamic resolv.conf file for connecting local clients to the
# internal DNS stub resolver of systemd-resolved. This file lists all
# configured search domains.
#
# Run "systemd-resolve --status" to see details about the uplink DNS servers
# currently in use.
#
# Third party programs must not access this file directly, but only through the
# symlink at /etc/resolv.conf. To manage man:resolv.conf(5) in a different way,
# replace this symlink by a static file or a different symlink.
#
# See man:systemd-resolved.service(8) for details about the supported modes of
# operation for /etc/resolv.conf.
nameserver 127.0.0.53
Code:
darko@filesrv:~$ sudo netstat -plunt | grep 53
[sudo] password for darko:
tcp 0 0 127.0.0.53:53 0.0.0.0:* LISTEN 4253/systemd-resolv
tcp 0 0 192.168.122.1:53 0.0.0.0:* LISTEN 2066/dnsmasq
udp 39936 0 127.0.0.53:53 0.0.0.0:* 4253/systemd-resolv
udp 0 0 192.168.122.1:53 0.0.0.0:* 2066/dnsmasq
Code:
darko@filesrv:~$ dig google.com
; <<>> DiG 9.11.3-1ubuntu1.2-Ubuntu <<>> google.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 50457
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 65494
;; QUESTION SECTION:
;google.com. IN A
;; ANSWER SECTION:
google.com. 299 IN A 216.58.201.174
;; Query time: 78 msec
;; SERVER: 127.0.0.53#53(127.0.0.53)
;; WHEN: Tue Nov 13 18:40:12 CET 2018
;; MSG SIZE rcvd: 55
Notice how the dig reply comes from 127.0.0.53?
Bookmarks