
22nd March 2007, 06:33
|
|
Junior Member
|
|
Join Date: Mar 2007
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Internal host lookup fails
I used the MyDNS with MyDNSConfig Control Panel and DNSMasq on Ubuntu 6.10 tutorial to install Mydns and dnsmasq.
dnsmasq is listening on 127.0.0.1 and external requests are being forwarded there but my internal requests are not getting any where.
If I ping the nameserver from a host on the LAN it is failing but if a ping externally the resolver is passing on the address.
I am not sure where I am going wrong.
Lan requests are directed to the right IP addss in DHCP settings so I am at a loss.
Could anyone help me to wade through this mess?
|

23rd March 2007, 18:41
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,853
Thanks: 781
Thanked 1,558 Times in 1,477 Posts
|
|
What's in your /etc/resolv.conf?
|

23rd March 2007, 19:49
|
|
Junior Member
|
|
Join Date: Mar 2007
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Search home.internal
nameserver 127.0.0.1
nameserver 192.168.2.66 (ip of mydns)
so far the dnsmasq seems to be querying the root servers directly for dns queries. As far as I can tell the local mysql mydns table does not recognize the home.internal domain and is passing the query directly to the resolver.
|

23rd March 2007, 23:24
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 19,805
Thanks: 285
Thanked 1,805 Times in 1,357 Posts
|
|
Please try to set in resolv.conf only this one line:
nameserver 192.168.2.66
normally mydns should pass every dns query it is not able to answer to the dnsmasq server itself.
|

24th March 2007, 04:44
|
|
Junior Member
|
|
Join Date: Mar 2007
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
I made the change you suggested and restarted networking
Here are the results of an internal dig. Looking to the root server.
; <<>> DiG 9.3.2 <<>> home.internal
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 40399
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;home.internal. IN A
;; AUTHORITY SECTION:
. 10757 IN SOA A.ROOT-SERVERS.NET. NSTLD.VERISIGN-GRS.COM. 2007032300 1800 900 604800 86400
;; Query time: 33 msec
;; SERVER: 192.168.2.66#53(192.168.2.66)
;; WHEN: Fri Mar 23 22:38:40 2007
;; MSG SIZE rcvd: 109
|

24th March 2007, 11:20
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 19,805
Thanks: 285
Thanked 1,805 Times in 1,357 Posts
|
|
You are sure that you have a SOA created for home.internal in mydns that works from all other IP addresses except from the local IP?
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 14:33.
|
Recent comments
56 min 19 sec ago
6 hours 44 min ago
8 hours 35 min ago
10 hours 20 min ago
14 hours 11 min ago
19 hours 55 min ago
20 hours 7 min ago
1 day 25 min ago
1 day 6 hours ago
1 day 11 hours ago