Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > MyDNSConfig > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 22nd March 2007, 05:33
curiogeo curiogeo is offline
Junior Member
 
Join Date: Mar 2007
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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?
Reply With Quote
Sponsored Links
  #2  
Old 23rd March 2007, 17:41
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

What's in your /etc/resolv.conf?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 23rd March 2007, 18:49
curiogeo curiogeo is offline
Junior Member
 
Join Date: Mar 2007
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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.

Reply With Quote
  #4  
Old 23rd March 2007, 22:24
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,202
Thanks: 829
Thanked 5,420 Times in 4,262 Posts
Default

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.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 24th March 2007, 03:44
curiogeo curiogeo is offline
Junior Member
 
Join Date: Mar 2007
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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
Reply With Quote
  #6  
Old 24th March 2007, 10:20
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,202
Thanks: 829
Thanked 5,420 Times in 4,262 Posts
 
Default

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?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
This is %#@*&^$# embarrassing! domino Smalltalk 34 5th February 2007 21:57
ISPConfig with postfix problem Chrisssssss General 30 20th January 2007 23:34
postfix-tls sasl2 mysql courier-authmysql gabrix Server Operation 4 12th January 2007 22:09
I broke it.. I think.. Email in is not being delivered? edge Server Operation 1 3rd July 2006 14:22
ISPConfig/Postfix - unable to send mail via Outlook Commdude Installation/Configuration 8 21st March 2006 01:24


All times are GMT +2. The time now is 04:34.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.