1 |
On Monday 05 Aug 2013 07:06:08 gevisz wrote: |
2 |
> My thanks to all who replied to my question. |
3 |
> |
4 |
> The problem was with my local router, which I also used as DNS. |
5 |
> After excluding it from /etc/resolv.config and /etc/init.d/net files, |
6 |
> Firefox started to work as expected. |
7 |
|
8 |
Hmm ... I wonder if this is related to my earlier comment about malformed |
9 |
packets. |
10 |
|
11 |
May be worth trying a different firmware for this router. |
12 |
|
13 |
|
14 |
> Suggestions of Michael Kintzios |
15 |
|
16 |
> > This is the new kernel naming scheme of NICs. Which-ever nomenclature |
17 |
> > you decide to use, check that that's the only one having a symlink in |
18 |
> > /etc/init.d to net.lo |
19 |
> |
20 |
> Yes, there is only enp2s15 links to lo in /etc/init.d |
21 |
|
22 |
The idea here is that you need consistent naming of your iface. If you have |
23 |
settled on the kernel naming of enp2s15, then stick with this throughout your |
24 |
configuration. |
25 |
|
26 |
|
27 |
> After deleting all but my lan router DNS from /etc/conf.d/net and |
28 |
> /etc/resolv.conf |
29 |
> files, I had the same problem as before but in addition the host |
30 |
> utility reports an |
31 |
> additional error. Please, see the full response below. |
32 |
|
33 |
You should not need to manually alter anything in your /etc/resolv.conf, which |
34 |
will be completed with the DNS server name(s) you have set up in your |
35 |
/etc/conf.d/net. |
36 |
|
37 |
|
38 |
> # host www.google.com |
39 |
> www.google.com has address 74.125.232.52 |
40 |
> www.google.com has address 74.125.232.48 |
41 |
> www.google.com has address 74.125.232.49 |
42 |
> www.google.com has address 74.125.232.50 |
43 |
> www.google.com has address 74.125.232.51 |
44 |
> ;; Warning: query response not set |
45 |
> ;; Warning: query response not set |
46 |
|
47 |
I think this means that the DNS server response is incorrectly formed (or that |
48 |
the server respond code does not include a 4 bit RCODE as it should - more |
49 |
detail for DNS geeks can be found here: http://www.ietf.org/rfc/rfc2136.txt) |
50 |
|
51 |
|
52 |
> Host www.google.com not found: 4(NOTIMP) |
53 |
|
54 |
The RFC says: The name server does not support the specified Opcode. I would |
55 |
reflash the firmware, or try any OpenSource alternatives if available for your |
56 |
router. |
57 |
|
58 |
|
59 |
> After leaving in /etc/conf.d/net and /etc/resolv.conf files only the |
60 |
> DNS of my service |
61 |
> provider, Firefox started to work as predicted. Thank you! |
62 |
|
63 |
This may not be ideal (it will introduce some latency in your requests) but if |
64 |
you can't fix your router, it'll have to do for now. |
65 |
|
66 |
|
67 |
> > Can you please show us: |
68 |
> > ip route show |
69 |
> > ip addr show |
70 |
> > ip link show |
71 |
> |
72 |
> $ ip route show |
73 |
> default via 192.168.0.1 dev enp2s15 metric 2 |
74 |
> 127.0.0.0/8 via 127.0.0.1 dev lo scope link |
75 |
> 192.168.0.0/24 dev enp2s15 proto kernel scope link src 192.168.0.9 |
76 |
|
77 |
This says that your IP address us 192.168.0.9, but see below. |
78 |
|
79 |
|
80 |
> $ ip addr show |
81 |
[snip ...] |
82 |
|
83 |
> 2: enp2s15: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc |
84 |
> pfifo_fast state UP qlen 1000 |
85 |
> link/ether <MAC_address_of_my_Ethernet_card> brd ff:ff:ff:ff:ff:ff |
86 |
> inet 192.168.0.7/24 brd 192.168.0.255 scope global enp2s15 |
87 |
|
88 |
This says that your ip address is 192.168.0.7 - did you get a different IP |
89 |
address between the two commands? Your /etc/conf.d/net showed that you had |
90 |
set up a static address as config_enp2s15="192.168.0.9 ..." so why is this |
91 |
here? |
92 |
|
93 |
|
94 |
> $ ip link show |
95 |
[snip ...] |
96 |
|
97 |
> 2: enp2s15: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc |
98 |
> pfifo_fast state UP mode DEFAULT qlen 1000 |
99 |
> link/ether <MAC_address_of_my_Ethernet_card> brd ff:ff:ff:ff:ff:ff |
100 |
|
101 |
OK, this looks good. |
102 |
|
103 |
|
104 |
> Suggestions of Kurian Thayil |
105 |
> |
106 |
> > Can you do a ping and see if the resolv.conf DNS ips are reachable? |
107 |
> |
108 |
> Yes, I can ping all my DNS. Moreover, I successfully use them from my |
109 |
> Ubuntu installation on the same computer. |
110 |
> |
111 |
> > do a |
112 |
> > dig @8.8.8.8 www.google.com ## which will do a name resolution with |
113 |
> > Google DNS servers. |
114 |
> |
115 |
> Here is the output: |
116 |
> |
117 |
> $ dig @8.8.8.8 www.google.co |
118 |
> |
119 |
> ; <<>> DiG 9.9.2 <<>> @8.8.8.8 www.google.co |
120 |
> ; (1 server found) |
121 |
> ;; global options: +cmd |
122 |
> ;; Got answer: |
123 |
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4036 |
124 |
> ;; flags: qr rd ra; QUERY: 1, ANSWER: 12, AUTHORITY: 4, ADDITIONAL: 5 |
125 |
> |
126 |
> ;; OPT PSEUDOSECTION: |
127 |
> ; EDNS: version: 0, flags:; udp: 4096 |
128 |
> ;; QUESTION SECTION: |
129 |
> ;www.google.co. IN A |
130 |
> |
131 |
> ;; ANSWER SECTION: |
132 |
> www.google.co. 86400 IN CNAME www3.l.google.com. |
133 |
> www3.l.google.com. 13 IN A 173.194.32.166 |
134 |
> www3.l.google.com. 13 IN A 173.194.32.167 |
135 |
> www3.l.google.com. 13 IN A 173.194.32.168 |
136 |
> www3.l.google.com. 13 IN A 173.194.32.169 |
137 |
> www3.l.google.com. 13 IN A 173.194.32.174 |
138 |
> www3.l.google.com. 13 IN A 173.194.32.160 |
139 |
> www3.l.google.com. 13 IN A 173.194.32.161 |
140 |
> www3.l.google.com. 13 IN A 173.194.32.162 |
141 |
> www3.l.google.com. 13 IN A 173.194.32.163 |
142 |
> www3.l.google.com. 13 IN A 173.194.32.164 |
143 |
> www3.l.google.com. 13 IN A 173.194.32.165 |
144 |
> |
145 |
> ;; AUTHORITY SECTION: |
146 |
> google.com. 244594 IN NS ns3.google.com. |
147 |
> google.com. 244594 IN NS ns2.google.com. |
148 |
> google.com. 244594 IN NS ns4.google.com. |
149 |
> google.com. 244594 IN NS ns1.google.com. |
150 |
> |
151 |
> ;; ADDITIONAL SECTION: |
152 |
> ns1.google.com. 191550 IN A 216.239.32.10 |
153 |
> ns2.google.com. 191550 IN A 216.239.34.10 |
154 |
> ns3.google.com. 191550 IN A 216.239.36.10 |
155 |
> ns4.google.com. 191550 IN A 216.239.38.10 |
156 |
> |
157 |
> ;; Query time: 96 msec |
158 |
> ;; SERVER: 8.8.8.8#53(8.8.8.8) |
159 |
> ;; WHEN: Mon Aug 5 07:59:45 2013 |
160 |
> ;; MSG SIZE rcvd: 385 |
161 |
|
162 |
OK, Google's public DNS 8.8.8.8 works fine, but your router's internal DNS |
163 |
repeater seems to be dodgy. |
164 |
|
165 |
-- |
166 |
Regards, |
167 |
Mick |