after upgrade debian i cannot open or ping any domain even in firefox (but i havnt any problem via proxy).
for example wget:
unable to resolve host address ‘google.com’
but i can work with ip (add in /etc/hosts) or dig any domian
; <<>> DiG 9.10.3-P4-Debian <<>> debian.org
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 35527
;; flags: qr rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;debian.org. IN A
;; ANSWER SECTION:
debian.org. 45 IN A 149.20.20.22
debian.org. 45 IN A 5.153.231.4
debian.org. 45 IN A 140.211.15.34
debian.org. 45 IN A 130.89.148.14
debian.org. 45 IN A 128.31.0.62
;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Wed Jun 01 09:03:52 IRDT 2016
;; MSG SIZE rcvd: 119
i also can access to ip directly or access to domain with /etc/hosts
my /etc/resolv.conf:
nameserver 127.0.0.1
nameserver 8.8.8.8
and my /etc/NetworkManager/NetworkManager.conf:
[main]
plugins=ifupdown,keyfile
#dns=dnsmasq
[ifupdown]
managed=false
when i run nmcli dev show | grep IP4.DNS:
IP4.DNS[1]: 127.0.0.1
IP4.DNS[2]: 8.8.8.8
apparently every thing is ok but i cannot access to any domain directly.
Any help with this would be best appreciated!
/etc/nsswitch.conflook like for thehosts:line?hosts: files mdns4_minimal [NOTFOUND=return] dnsgetent hosts google.comwork?/etc/hostsworking