Welcome to Firewall.cx - The Site For Networking Professionals

 
Modules
· Home
· Alternative Menu
· Amazon
· Cisco Decrypter
· Cisco Lab Partners
· Feedback
· Forums
· Max Arcade
· Private Messages
· Recommend Us
· Statistics
· Stories Archive
· Submit News
· Surveys
· Topics
· Web Links
· Your Account
 
Cisco Knowledgebase Articles
 
Site Info
Welcome, Anonymous
Nickname
Password
Security Code: Security Code
Type Security Code:

· Register
· Lost Password
Membership:
Latest: Check the profile of ashwini ashwini
New Today: 8
New Yesterday: 5
Waiting: 5
Overall: 25779

People Online:
Visitors: 188
Members: 1
Hidden: 0
Total: 189

Online Now:
01: Check the profile of dangminh Send a quick private message to dangminh dangminh

We received
75205401
page views since
15th September 2003

Hits New Today: 42785
Hits New Yesterday: 26129
 
Top Downloads
 
Gold Lab Partners


 
Firewall.cx - The Site For Networking Professionals: Forums

Firewall.cx :: View topic - DNS reverse lookup
Forums Home
Forum FAQ :: Search :: Memberlist :: Usergroups
Profile :: Log in to check your private messages :: Log in

DNS reverse lookup

 
Post new topic   Reply to topic    Firewall.cx Forum Index -> Basic Concepts
View previous topic :: View next topic  
Author Message
Ilithios
New Member
New Member


Joined: Dec 8, 2002
Posts: 6
Location: Greece

PostPosted: Thu Feb 13, 2003 2:05 am    Post subject: DNS reverse lookup Reply with quote

Hello there, great site again and very good work

i have some questions about reverse dns lookup. how does the whole reverse lookup system works? suppose i have some class c networks, how can i define which dns server will lookup for each one ( reverse ).
and one last question that is troubling me is this : let's suppose we have a class c network ( 255 ips ). and i have 2 nameservers. how can i have one of them reverse lookup some ips and the the other nameserver the rest of them ?

thank you
Back to top
View user's profile Send private message
Manip
Occasional Member
Occasional Member


Joined: Jan 15, 2003
Posts: 51
Location: UK

PostPosted: Thu Feb 13, 2003 4:39 am    Post subject: DNS reverse lookup Reply with quote

I am going to assume you are working in windows...:s to define which DNS server you will be using look under your 'Local Area Connection' > 'Internet Protocol (TCP/IP)' You will see Obtain DNS server address automatically, which generally means if you have a web proxy it will use the proxy specified by that.
To define a custom proxy change to 'Use The following DNS server addresses:' and enter a Primary, then a secondary (if you have it), the secondary is the backup if your first one goes down.
To do what you said (Have two DNS with separate records) you could split the computers on your network up and specify different DNS servers or have the primary DNS server point to the secondary DNS server to get address X.

1. Primary give me www.intranet.com
2. Ok you can find it by going and looking at another DNS server >> 10.0.0.2
3. Secondary DNS can I have www.intranet.com
4. Yes 10.0.0.100
Back to top
View user's profile Send private message Visit poster's website
wrath_child
New Member
New Member


Joined: Feb 10, 2003
Posts: 9
Location: Tbilisi, Georgia

PostPosted: Thu Feb 13, 2003 10:44 pm    Post subject: DNS reverse lookup Reply with quote

Hello,

say you are assigned addresses

range 1. 192.168.0.0/24
range 2. 192.168.1.0/24

and you have 2 DNS servers

DNS 1. ns1.yourdomain (10.0.0.1)
DNS 2. ns2.yourdomain (10.0.1.1)

now you want to configure reverse delegation for both ranges with the following settings:

Pri DNS for range 1 - DNS 1
Sec DNS for range 1 - DNS 2

and

Pri DNS for range 2 - DNS 2
Sec DNS for range 2 - DNS 1

--- named.conf on 10.0.0.1
zone "0.168.192.IN-ADDR.ARPA" {
type master;
file "0.rev";
};

zone "1.168.192.IN-ADDR.ARPA" {
type slave;
file "1.rev";
masters { 10.0.1.1 };
}
---
--- named.conf for 10.0.1.1
zone "0.168.192.IN-ADDR.ARPA" {
type slave;
file "0.rev";
masters { 10.0.0.1 };
};

zone "1.168.192.IN-ADDR.ARPA" {
type master;
file "1.rev";
}
---

0.rev and 1.rev files should contain records like:

SOA record here
...
1 IN PTR host1.
2 IN PTR host2.
...

after you have done configuration on your server dont forget to ask your ip addresses provider to update their nameservers for reverse delegation on your ip ranges.

Hope this helps.
Back to top
View user's profile Send private message Send e-mail
Ilithios
New Member
New Member


Joined: Dec 8, 2002
Posts: 6
Location: Greece

PostPosted: Fri Feb 14, 2003 3:16 am    Post subject: DNS reverse lookup Reply with quote

Thank you very much wrath_child, indeed it helped and thank you Manip though the question was more relevant to what wrath_child answered.
I have this last question. Suppose i have the network 192.168.0/24 and 192.168.0.1 is my primary dns server. I want for some particular IPs belonging to this range ( say for example 5 IPs ) do their reverse lookup by another nameserver ( no subnetting ).
Example :
for IPs : 192.168.0.0-249 i want my pri dns to do the reverse resolving
and for the IPs : 192.168.0.250-254 to have another dns do my reverse resolving ( the second dns is still in this network )
Is that possible and if so, how?

thank you again
Back to top
View user's profile Send private message
Ilithios
New Member
New Member


Joined: Dec 8, 2002
Posts: 6
Location: Greece

PostPosted: Fri Feb 14, 2003 2:10 pm    Post subject: DNS reverse lookup Reply with quote

Thanx again
Back to top
View user's profile Send private message
wrath_child
New Member
New Member


Joined: Feb 10, 2003
Posts: 9
Location: Tbilisi, Georgia

PostPosted: Fri Feb 14, 2003 10:13 pm    Post subject: DNS reverse lookup Reply with quote

Hello Ilithios,

The thing you need is called "Classless reverse delegation" and is described in document below:
http://www.faqs.org/rfcs/rfc2317.html

I don't think I can explain the subject better

Best regards
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Firewall.cx Forum Index -> Basic Concepts All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
© Copyright 2000-2009 Firewall.cx - All Rights Reserved

Copyright of all documents and images belonging to this site by Firewall.cx. Information contained on this site is copyrighted material. It is illegal to copy or redistribute this information in any way without the written consent of Firewall.cx

Firewall.cx disclaims any responsibility for software and information obtained through this site or its links.

Page Generation: 0.573 Seconds