Mam problem z serwerem, a dokładnie z zapytaniami dns. Poprawnie mam wpisy zrobione w resolv.conf, dnsy sieci dialog, ale w momencie próby pingowania onet.pl wyświetla
Kod: Zaznacz cały
ping: unknown host onet.pl
Kod: Zaznacz cały
ping: unknown host onet.pl
Kod: Zaznacz cały
route -n
Kod: Zaznacz cały
cat /etc/resolv.conf
ifconfig
route -n
ping -c 4 213.180.146.27
ping -c 4 ip.twojej.bramy
ping -c 4 ip.twojego.dns
iptables -L
Kod: Zaznacz cały
nameserver 194.204.159.1
nameserver 194.204.152.34
Kod: Zaznacz cały
eth0 Link encap:Ethernet HWaddr 00:11:25:6B:2B:3C
inet addr:192.168.200.3 Bcast:192.168.200.255 Mask:255.255.255.0
inet6 addr: fe80::211:25ff:fe6b:2b3c/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1769 errors:0 dropped:0 overruns:0 frame:0
TX packets:780 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:156776 (153.1 KiB) TX bytes:52507 (51.2 KiB)
eth1 Link encap:Ethernet HWaddr 00:5:D A:8C:1C:98
inet addr:192.168.9.1 Bcast:192.168.9.255 Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:9 Base address:0x4000
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:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:560 (560.0 b) TX bytes:560 (560.0 b)
Kod: Zaznacz cały
debian:~# ping -c 4 213.180.146.27
PING 213.180.146.27 (213.180.146.27) 56(84) bytes of data.
64 bytes from 213.180.146.27: icmp_seq=1 ttl=56 time=30.9 ms
64 bytes from 213.180.146.27: icmp_seq=2 ttl=56 time=44.0 ms
64 bytes from 213.180.146.27: icmp_seq=3 ttl=56 time=29.7 ms
Kod: Zaznacz cały
debian:~# ping -c 4 192.168.200.1
PING 192.168.200.1 (192.168.200.1) 56(84) bytes of data.
64 bytes from 192.168.200.1: icmp_seq=1 ttl=254 time=2.28 ms
64 bytes from 192.168.200.1: icmp_seq=2 ttl=254 time=1.72 ms
64 bytes from 192.168.200.1: icmp_seq=3 ttl=254 time=1.71 ms
64 bytes from 192.168.200.1: icmp_seq=4 ttl=254 time=1.76 ms
Kod: Zaznacz cały
debian:~# ping -c 4 217.30.129.149
PING 217.30.129.149 (217.30.129.149) 56(84) bytes of data.
64 bytes from 217.30.129.149: icmp_seq=1 ttl=61 time=17.9 ms
64 bytes from 217.30.129.149: icmp_seq=2 ttl=61 time=14.6 ms
64 bytes from 217.30.129.149: icmp_seq=3 ttl=61 time=15.3 ms
64 bytes from 217.30.129.149: icmp_seq=4 ttl=61 time=14.8 ms
Kod: Zaznacz cały
debian:~# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
To co podałeś to TP.SAdan-j2 pisze: dnsy sieci dialog
...
podaje wyniki resolv.conf
Kod: Zaznacz cały
nameserver 194.204.159.1 nameserver 194.204.152.34
* pierwszy (primary) serwer DNS: adres IP: 217.30.129.149]
Zobacz OpenDNS:Ja mam takie i nie mam problemów.Kod: Zaznacz cały
nameserver 208.67.222.222 nameserver 208.67.220.220
Kod: Zaznacz cały
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Kod: Zaznacz cały
eth0 Link encap:Ethernet HWaddr 00:e0:4c:04:39:bf
inet addr:192.168.10.101 Bcast:192.168.10.255 Mask:255.255.255.0
inet6 addr: fe80::2e0:4cff:fe04:39bf/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3390 errors:0 dropped:0 overruns:0 frame:0
TX packets:2508 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1029766 (1005.6 KiB) TX bytes:197248 (192.6 KiB)
Interrupt:5 Base address:0xd400
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:12 errors:0 dropped:0 overruns:0 frame:0
TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:824 (824.0 B) TX bytes:824 (824.0 B)
Kod: Zaznacz cały
nameserver 208.67.222.222
nameserver 208.67.220.220
nameserver 198.41.0.4
Kod: Zaznacz cały
ping -c 4 208.67.222.222
host debian.linux.pl
host debian.linux.pl 208.67.222.222