LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 10-25-2009, 02:06 AM   #1
bt101
LQ Newbie
 
Registered: Mar 2008
Posts: 28

Rep: Reputation: 15
Mystery about DNS forwarding and PPP


Hi - I'm actually trying to figure out why something IS working.

I have an Ubuntu Gutsy server that is running bind9 (it acts as my DNS server). I setup PPP on this server and when I connect to the internet I can resolve internet addresses but I can't see why it works.

I used pppconfig to setup ppp and I specified nsmeservers=none so that ppp will not modify resolv.conf. I checked and it indeed does not modify my resolv.conf. My resolv.conf only has my little domain name and the ip of my DNS server (which just points back to the local machine). OK that should eliminate resolv.conf and confirm that the machine is resolving addresses from bind9.

My bind9 is setup with no forwarding.

/etc/host.conf has the normal:
oder hosts,bind
multi on

So then how am I able to resolve internet addresses?

Thanks
 
Old 10-25-2009, 06:01 AM   #2
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 9,207

Rep: Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873
Hi,

You are able to resolve internet domains, because bind by default acts as a caching dns server. Even though you don't use the "." hint zone, there are some root servers hard-coded into bind code, so it can forward queries to them.

Regards
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
NetworkManager & gprs/ppp DNS: after using wlan/eth0, DNS for ppp doesn't work mtess Linux - Networking 3 03-12-2008 04:31 PM
IP Forwarding with ppp for a small LAN Samoth Linux - Networking 6 01-11-2006 08:58 AM
IP forwarding not working on ppp-over-ssh vpn tingdahl Linux - Networking 3 08-27-2004 07:31 PM
iptables forwarding from ppp connection onto LAN CoolScan3 Linux - Networking 0 08-23-2002 06:40 PM
DNS on PPP DavidPhillips Linux - General 1 11-02-2001 01:28 AM


All times are GMT -5. The time now is 11:46 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration