LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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
  Search this Thread
Old 01-15-2002, 09:41 AM   #1
phil1076
Member
 
Registered: Oct 2001
Location: Grand Cayman
Distribution: RH 9.0
Posts: 96

Rep: Reputation: 16
Question DNS Question. Please help


I posted this earlier and didn't get any replies so this time I'll go into more detail. Currently, I have a box running RH7.2 as my firewall. It is running DHCP to provide the internal machines with IP's and is also running named. The internal machines use the Linux box as a DNS server and the Linux system, in turn, uses my cable provider's DNS servers to resolve hostnames. This works well and allows me to enter bogus DNS entries for websites like doubleclick.net that I don't want to be able to resolve into my named.conf. Now, here is my issue. It has to do with reverse DNS lookup. I am running SSH to remotely administer the firewall and every time I SSH in and check out my log file (filename: "secure"), it shows all the connection attempts via SSH, but it says "unable to resolve xxx.xxx.xxx.xxx". I want to it to ask my cable provider's DNS servers for the reverse DNS lookup. How do I do this? In other words, how do I get the linux to query the cable DNS servers for reverse-lookup DNS resolving?
 
Old 01-15-2002, 05:37 PM   #2
johnmc
LQ Newbie
 
Registered: Apr 2001
Location: Brisbane, Australia
Distribution: RedHat 7.x
Posts: 2

Rep: Reputation: 0
My network works in the same way - split DNS system.

In my named.conf I use the forwarders directive to forward any name services requests to my ISP DNS servers. Then I set up my local zone files (forward and reverse) with forwarders set to nothing.

This means when a host on my internal network lookups up another host or address on the internal network, the local DNS is used. If the host looks up an external host or address, the request is forwarded to the ISP nameservers. See the sample named.conf file below:

options {
directory "/var/named";
coresize=10M;
max-transfer-time-in 60;
forwarders { 10.0.0.1; 10.0.0.2; };
forward only;
};

// reverse local zone
zone "0.0.127.in-addr.arpa" {
type master;
file "reverse.local";
};

// internal domain zone
zone "local.net" {
type "master";
file "local.net";
forwarders {};
notify yes;
};

// internal reverse domain zone
zone "0.168.192.in-addr.arpa" {
type "master";
file "0.168.192";
forwarders {};
notify yes;
};

Also, a really good resource for all things DNS is the ask MR DNS website:

http://www.acmebw.com/askmrdns
 
Old 01-16-2002, 08:24 AM   #3
phil1076
Member
 
Registered: Oct 2001
Location: Grand Cayman
Distribution: RH 9.0
Posts: 96

Original Poster
Rep: Reputation: 16
So the forwarders{} command will forward reverse DNS to the outside DNS servers?
 
Old 01-16-2002, 09:44 AM   #4
phil1076
Member
 
Registered: Oct 2001
Location: Grand Cayman
Distribution: RH 9.0
Posts: 96

Original Poster
Rep: Reputation: 16
I tried your named.conf. I still get Unable to resolve IP when I SSH in however..
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
dns question jelgavchik Linux - Networking 1 01-29-2005 02:51 AM
Dns Question ..... har5ha Linux - Networking 7 07-24-2004 03:34 PM
DNS question J_Szucs Linux - Software 4 10-31-2003 03:02 AM
dns question -- new to dns gadhiraju Linux - Networking 7 05-09-2001 05:59 PM
dns question -- new to dns gadhiraju Linux - General 2 05-09-2001 07:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:01 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration