@johnpoz said in Diagnostic -> DNS Lookup 127.0.0.1 always 0?:
There could be some oddness in the how the gui displays that? Best to do from cmd line on pfsense... Just flush your cache to be sure and then lookup something..
example..
[2.4.4-RELEASE][admin@sg4860.local.lan]/root: dig www.cnn.com
; <<>> DiG 9.12.2-P1 <<>> www.cnn.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 35371
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;www.cnn.com. IN A
;; ANSWER SECTION:
www.cnn.com. 3600 IN CNAME turner-tls.map.fastly.net.
turner-tls.map.fastly.net. 3600 IN A 151.101.185.67
;; Query time: 190 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Mon Feb 10 11:18:26 CST 2020
;; MSG SIZE rcvd: 95
@johnpoz thanks for the tip. Yes, it works just fine from CLI even without clearing the cache. New queries give different times as expected on the first attempt.