Recently I noticed that I can't seem to reach a few specific domains on the Internet, esp. 'amd.com' and its subdomains, such as 'ati.amd.com'.
After some research I have the strong impression that this is caused by a (for me) strange behaviour of the DNS-server on my Freesco-box.
An example from the 'recent log' looks like this:
Nov 4 13:28:29 - dnsmasq[3057]: query ati.amd.com from 192.168.1.9
Nov 4 13:28:29 - dnsmasq[3057]: forwarded ati.amd.com to 62.45.46.46
Nov 4 13:28:29 - kernel: IP fw-in rej ppp0 UDP 128.8.10.90:53 83.128.67.82:48737 L=517 S=0x00 I=60004 F=0x0000 T=84
Nov 4 13:28:29 - kernel: IP fw-in rej ppp0 UDP 192.203.230.10:53 83.128.67.82:48738 L=529 S=0x00 I=64579 F=0x0000 T=47
Nov 4 13:28:30 - kernel: IP fw-in rej ppp0 UDP 192.228.79.201:53 83.128.67.82:48739 L=517 S=0x00 I=40722 F=0x0000 T=47
Nov 4 13:28:30 - kernel: IP fw-in rej ppp0 UDP 128.8.10.90:53 83.128.67.82:48741 L=517 S=0x00 I=2157 F=0x0000 T=84
Nov 4 13:28:30 - kernel: IP fw-in rej ppp0 UDP 192.203.230.10:53 83.128.67.82:48734 L=529 S=0x00 I=65433 F=0x0000 T=47
Nov 4 13:28:30 - kernel: IP fw-in rej ppp0 UDP 192.228.79.201:53 83.128.67.82:48740 L=517 S=0x00 I=0 F=0x4000 T=47
Nov 4 13:28:30 - kernel: IP fw-in rej ppp0 UDP 192.203.230.10:53 83.128.67.82:48742 L=529 S=0x00 I=65464 F=0x0000 T=47
Nov 4 13:28:31 - kernel: IP fw-in rej ppp0 UDP 202.12.27.33:53 83.128.67.82:48743 L=517 S=0x00 I=54727 F=0x0000 T=56
Nov 4 13:28:32 - kernel: IP fw-in rej ppp0 UDP 192.203.230.10:53 83.128.67.82:48742 L=529 S=0x00 I=2761 F=0x0000 T=47
Nov 4 13:28:32 - kernel: IP fw-in rej ppp0 UDP 192.228.79.201:53 83.128.67.82:48744 L=517 S=0x00 I=0 F=0x4000 T=47
Nov 4 13:28:32 - kernel: IP fw-in rej ppp0 UDP 128.8.10.90:53 83.128.67.82:48745 L=517 S=0x00 I=40078 F=0x0000 T=84
Nov 4 13:28:32 - kernel: IP fw-in rej ppp0 UDP 192.58.128.30:53 83.128.67.82:48747 L=529 S=0x00 I=43777 F=0x4000 T=57
Nov 4 13:28:32 - kernel: IP fw-in rej ppp0 UDP 192.203.230.10:53 83.128.67.82:48746 L=529 S=0x00 I=4281 F=0x0000 T=47
Nov 4 13:28:36 - kernel: IP fw-in rej ppp0 UDP 128.8.10.90:53 83.128.67.82:48745 L=517 S=0x00 I=30083 F=0x0000 T=84
Nov 4 13:28:36 - kernel: IP fw-in rej ppp0 UDP 192.203.230.10:53 83.128.67.82:48746 L=529 S=0x00 I=10467 F=0x0000 T=47
Nov 4 13:28:36 - kernel: IP fw-in rej ppp0 UDP 128.8.10.90:53 83.128.67.82:48748 L=517 S=0x00 I=40153 F=0x0000 T=84
Nov 4 13:28:36 - kernel: IP fw-in rej ppp0 UDP 192.203.230.10:53 83.128.67.82:48749 L=529 S=0x00 I=11631 F=0x0000 T=47
- 62.45.46.46 is one of my ISP's DNS-servers. I have other examples where the other DNS gives a similar result.
- internally I use 192.168.1.0 addresses, so the rejects from the firewall are probably correct.
However, I don't get any replies for this DNS-query onto my internal network. With the result that my computers can't reach the desired websites.
- 192.168.1.9 is an internal DNS-server that I use for my Windows-network. It has forwarding enabled for all domains except the 'internal' domain that it hosts. Disabling recursion on this DNS-server stopped the rejections on the firewall, but I still didn't get a reply for the 'ati.amd.com'-domain.
I have not noticed anything like this for any other domains. Is this something that happens moreoften? Do you recognize this pattern?
I don't know which details would be of interest, so I'm adding the following:
----- : Interfaces : -----
----- ifconfig -----
eth0 Link encap:Ethernet HWaddr 00:10:DC:42:55:EB
inet addr:192.168.1.3 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:6671 errors:0 dropped:0 overruns:1 frame:0
TX packets:8710 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 Interrupt:11 Base address:0xc800
eth1 Link encap:Ethernet HWaddr 00:19:E0:10:88:30
inet addr:192.168.100.2 Bcast:192.168.100.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:9065 errors:0 dropped:0 overruns:0 frame:0
TX packets:6716 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 Interrupt:10 Base address:0xcc00
lo Link encap:Local Loopback
inet addr:127.0.0.1 Bcast:127.255.255.255 Mask:255.0.0.0
UP BROADCAST LOOPBACK RUNNING MTU:3584 Metric:1
RX packets:50 errors:0 dropped:0 overruns:0 frame:0
TX packets:50 errors:0 dropped:0 overruns:0 carrier:0
collisions:0
ppp0 Link encap:Point-Point Protocol
inet addr:83.128.67.82 P-t-P:83.128.64.1 Mask:255.0.0.0
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:9063 errors:0 dropped:0 overruns:0 frame:0
TX packets:6714 errors:0 dropped:0 overruns:0 carrier:0
collisions:0
----- : Routing : -----
----- route -n -----
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
255.255.255.255 0.0.0.0 255.255.255.255 UH 0 0 0 eth0
255.255.255.255 0.0.0.0 255.255.255.255 UH 0 0 0 eth1
83.128.64.1 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
192.168.100.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 18 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 2 lo
0.0.0.0 83.128.64.1 0.0.0.0 UG 0 0 175 ppp0
----- : Firewall/Input : -----
----- ipfwadm -I -lne -----
IP firewall input rules, default policy: reject
pkts bytes type prot opt tosa tosx ifname ifaddress source destination ports
34 3501 acc all ---- 0xFF 0x00 lo 0.0.0.0 0.0.0.0/0 0.0.0.0/0 n/a
0 0 acc all ---- 0xFF 0x00 eth1 0.0.0.0 0.0.0.0/0 255.255.255.0 n/a
0 0 acc all ---- 0xFF 0x00 eth1 0.0.0.0 0.0.0.0/0 0.0.0.0/0 n/a
0 0 acc all ---- 0xFF 0x00 eth0 0.0.0.0 0.0.0.0/0 255.255.255.0 n/a
6293 937K acc all ---- 0xFF 0x00 eth0 0.0.0.0 0.0.0.0/0 0.0.0.0/0 n/a
0 0 acc tcp ---- 0xFF 0x00 * 0.0.0.0 62.45.45.45 0.0.0.0/0 53 -> *
0 0 acc tcp ---- 0xFF 0x00 * 0.0.0.0 62.45.46.46 0.0.0.0/0 53 -> *
0 0 rej tcp b--o 0xFF 0x00 * 0.0.0.0 0.0.0.0/0 0.0.0.0/0 53 -> *
0 0 rej tcp ---o 0xFF 0x00 * 0.0.0.0 0.0.0.0/0 0.0.0.0/0 * -> 22
0 0 rej tcp ---o 0xFF 0x00 * 0.0.0.0 0.0.0.0/0 0.0.0.0/0 * -> 9136
0 0 rej tcp ---o 0xFF 0x00 * 0.0.0.0 0.0.0.0/0 0.0.0.0/0 * -> 21
0 0 rej tcp ---o 0xFF 0x00 * 0.0.0.0 0.0.0.0/0 0.0.0.0/0 * -> 514
13 1349 acc udp ---- 0xFF 0x00 * 0.0.0.0 62.45.45.45 0.0.0.0/0 53 -> *
33 4877 acc udp ---- 0xFF 0x00 * 0.0.0.0 62.45.46.46 0.0.0.0/0 53 -> *
28 14632 rej udp b--o 0xFF 0x00 * 0.0.0.0 0.0.0.0/0 0.0.0.0/0 53 -> *
0 0 rej udp ---o 0xFF 0x00 * 0.0.0.0 0.0.0.0/0 0.0.0.0/0 * -> 22
0 0 rej udp ---o 0xFF 0x00 * 0.0.0.0 0.0.0.0/0 0.0.0.0/0 * -> 9136
0 0 rej udp ---o 0xFF 0x00 * 0.0.0.0 0.0.0.0/0 0.0.0.0/0 * -> 21
0 0 rej udp ---o 0xFF 0x00 * 0.0.0.0 0.0.0.0/0 0.0.0.0/0 * -> 514
0 0 rej all ---o 0xFF 0x00 * 0.0.0.0 0.0.0.0/0 192.168.100.0/24 n/a
0 0 rej all ---o 0xFF 0x00 * 0.0.0.0 192.168.100.0/24 0.0.0.0/0 n/a
0 0 rej all ---o 0xFF 0x00 * 0.0.0.0 0.0.0.0/0 192.168.1.0/24 n/a
0 0 rej all ---o 0xFF 0x00 * 0.0.0.0 192.168.1.0/24 0.0.0.0/0 n/a
8212 7258K acc all ---- 0xFF 0x00 * 0.0.0.0 0.0.0.0/0 0.0.0.0/0 n/a
----- : Firewall/Forward : -----
----- ipfwadm -F -lne -----
IP firewall forward rules, default policy: reject
pkts bytes type prot opt tosa tosx ifname ifaddress source destination ports
0 0 acc/m all ---- 0xFF 0x00 eth1 0.0.0.0 192.168.1.0/24 192.168.100.1 n/a
5108 811K acc/m all ---- 0xFF 0x00 ppp0 0.0.0.0 192.168.1.0/24 0.0.0.0/0 n/a
In the attachment is a report for the current configuration.
Can anyone help me with this?
Corné
