I used the host
command on Ubuntu 12.04 LTS to check my DNS server:
host -a www.amazon.com
showing this:
Trying "www.amazon.com"
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 22892
;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;www.amazon.com. IN ANY
;; ANSWER SECTION:
www.amazon.com. 60 IN SOA ns-942.amazon.com. root.amazon.com. 1405660589 3600 900 7776000 60
www.amazon.com. 7 IN A 72.21.194.212
www.amazon.com. 412 IN NS ns-942.amazon.com.
Received 110 bytes from 127.0.0.1#53 in 176 ms
Why Received form 127.0.0.1?
I've tried different websites, and moved to different locations trying this command. The DNS server shown is always the same: 127.0.0.1. Why?