LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 02-18-2009, 05:29 PM   #1
brandon@rhiamet.com
LQ Newbie
 
Registered: Jan 2009
Posts: 20

Rep: Reputation: Disabled
Name to IP resolution works but not IP to name


I'm running a BIND server on a private network. All hostname lookups work, but I can't resolve any internal addresses to hostnames but can resolve external IP addresses to hostnames. For example,

$ host www.google.com
www.google.com is an alias for www.l.google.com.
www.l.google.com has address 74.125.95.99
www.l.google.com has address 74.125.95.103
www.l.google.com has address 74.125.95.104
www.l.google.com has address 74.125.95.147
$ host 74.125.95.99
99.95.125.74.in-addr.arpa domain name pointer iw-in-f99.google.com.
$ host mail
mail.foo.com is an alias for maisrv01.foo.com.
maisrv01.foo.com has address 192.168.1.3
$ host 192.168.1.3
Host 3.1.168.192.in-addr.arpa not found: 3(NXDOMAIN)

I'm not sure where to look and haven't found anything in my searches. Any help is appreciated.
 
Old 02-18-2009, 05:32 PM   #2
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora
Posts: 3,935
Blog Entries: 5

Rep: Reputation: Disabled
Start here: Basic DNS: PTR records and why you care
 
Old 02-18-2009, 05:44 PM   #3
brandon@rhiamet.com
LQ Newbie
 
Registered: Jan 2009
Posts: 20

Original Poster
Rep: Reputation: Disabled
Beautiful. Thanks.
 
Old 02-18-2009, 05:45 PM   #4
rweaver
Senior Member
 
Registered: Dec 2008
Location: Louisville, OH
Distribution: Debian, CentOS, Slackware, RHEL, Gentoo
Posts: 1,833

Rep: Reputation: 167Reputation: 167
Quote:
Originally Posted by brandon@rhiamet.com View Post
I'm running a BIND server on a private network. All hostname lookups work, but I can't resolve any internal addresses to hostnames but can resolve external IP addresses to hostnames. For example,

$ host www.google.com
www.google.com is an alias for www.l.google.com.
www.l.google.com has address 74.125.95.99
www.l.google.com has address 74.125.95.103
www.l.google.com has address 74.125.95.104
www.l.google.com has address 74.125.95.147
$ host 74.125.95.99
99.95.125.74.in-addr.arpa domain name pointer iw-in-f99.google.com.
$ host mail
mail.foo.com is an alias for maisrv01.foo.com.
maisrv01.foo.com has address 192.168.1.3
$ host 192.168.1.3
Host 3.1.168.192.in-addr.arpa not found: 3(NXDOMAIN)

I'm not sure where to look and haven't found anything in my searches. Any help is appreciated.
Basically there are forward and reverse dns lookups.

A forward lookup resolves a name to an ip. Reverse does the opposite. When you're talking about mail for example reverse lookups matter because some servers will reject you or mark your mail as spam if you don't have your dns setup correctly. Then there is split horizon dns and all kinds of fun stuff related to that when you want dns to resolve correctly for both internal hosts and external hosts.

http://en.wikipedia.org/wiki/Reverse_DNS_lookup

Last edited by rweaver; 02-18-2009 at 05:48 PM.
 
  


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
wireless works but name resolution does not jaevans Linux - Wireless Networking 8 12-20-2007 08:17 AM
IVTV works, but now resolution is stuck on 720x240 chowdah45416 Linux - Desktop 0 02-07-2007 07:31 PM
Name resolution works for root not user johnson_steve Ubuntu 1 11-01-2006 02:14 PM
xv only works at 1600x1200 once i change resolution Fascistchicken Linux - Software 2 05-05-2004 02:48 PM
Can't find a resolution that works! dnelson Linux - Laptop and Netbook 5 04-07-2004 09:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:43 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