Non avendoli mai usato queste impostazioni in dieci anni di linux la cosa mi lascia un po' così... comunque non capisco bene, stanno nel pc o nel router?
questo è quello che dice il mio pc:
pierpaolo@bobocat:~$ dig -t any
debian.org; <<>> DiG 9.5.1-P3 <<>> -t any
debian.org
;; global options: printcmd
;; connection timed out; no servers could be reached
pierpaolo@bobocat:~$ cat /etc/nsswitch.conf
# /etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc-reference' and `info' packages installed, try:
# `info libc "Name Service Switch"' for information about this file.
passwd: compat
group: compat
shadow: compat
hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4
networks: files
protocols: db files
services: db files
ethers: db files
rpc: db files
netgroup: nis
pierpaolo@bobocat:~$ cat /etc/hosts
127.0.0.1 localhost
127.0.1.1 bobocat.internos bobocat
# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
pierpaolo@bobocat:~$ cat /etc/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 192.168.1.1
pierpaolo@bobocat:~$ ifconfig
bash: ifconfig: command not found
pierpaolo@bobocat:~$ sudo ifconfig
[sudo] password for pierpaolo:
eth0 Link encap:Ethernet HWaddr 00:0d:61:60:b8:81
inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::20d:61ff:fe60:b881/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:59306 errors:0 dropped:0 overruns:0 frame:0
TX packets:36920 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:73683917 (70.2 MiB) TX bytes:6052580 (5.7 MiB)
Interrupt:18 Base address:0xe000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:617 errors:0 dropped:0 overruns:0 frame:0
TX packets:617 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:270997 (264.6 KiB) TX bytes:270997 (264.6 KiB)
pierpaolo@bobocat:~$ ping -c4 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
64 bytes from
192.168.1.1: icmp_seq=1 ttl=255 time=1.15 ms
64 bytes from
192.168.1.1: icmp_seq=2 ttl=255 time=0.697 ms
64 bytes from
192.168.1.1: icmp_seq=3 ttl=255 time=0.697 ms
64 bytes from
192.168.1.1: icmp_seq=4 ttl=255 time=0.680 ms
--- 192.168.1.1 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3004ms
rtt min/avg/max/mdev = 0.680/0.808/1.159/0.203 ms
pierpaolo@bobocat:~$ ping -c4
www.google.it
PING
www.l.google.com (74.125.43.99) 56(84) bytes of data.
64 bytes from
www.google.it (74.125.43.99): icmp_seq=1 ttl=51 time=38.9 ms
64 bytes from
www.google.it (74.125.43.99): icmp_seq=2 ttl=51 time=39.1 ms
64 bytes from
www.google.it (74.125.43.99): icmp_seq=3 ttl=51 time=38.4 ms
64 bytes from
www.google.it (74.125.43.99): icmp_seq=4 ttl=51 time=39.2 ms
---
www.l.google.com ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3009ms
rtt min/avg/max/mdev = 38.493/38.944/39.201/0.314 ms
pierpaolo@bobocat:~$ ping -c4
www.debian.org
PING
www.debian.org (141.76.2.5) 56(84) bytes of data.
64 bytes from
www.debian.org (141.76.2.5): icmp_seq=1 ttl=49 time=73.7 ms
64 bytes from
www.debian.org (141.76.2.5): icmp_seq=2 ttl=49 time=76.3 ms
64 bytes from
www.debian.org (141.76.2.5): icmp_seq=3 ttl=49 time=74.5 ms
64 bytes from
www.debian.org (141.76.2.5): icmp_seq=4 ttl=49 time=74.3 ms
---
www.debian.org ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3013ms
rtt min/avg/max/mdev = 73.706/74.745/76.391/1.016 ms