cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3289
Views
0
Helpful
6
Replies

DNS nslookup problem

hai all,

referring to the following link

http://www.cisco.com/en/US/tech/tk648/tk362/technologies_tech_note09186a00800c525f.shtml

we have configured the below configuration

ip subnet-zero

ip name-server x.y.z.w

ip forward-protocol udp domain

access-list 10 permit udp any any eq domain

access-list 10 permit udp any eq domain any

access-list 10 deny any

--

ip domain lookup

ip domain name x.y.z

ip ospf name-lookup

ip domain list

Mainly from my network to DNS server another set of routers is there , could i have to configure anything like

ip forward-protocol udp domain

second thing is i m not able to give

access-list 10 permit udp any any eq domain

access-list 10 permit udp any eq domain any

6 Replies 6

Peter Paluch
Cisco Employee
Cisco Employee

Hello Anand,

You did not explain what you are trying to achieve and what is the problem you are experiencing.

The problem with your ACL is that the number 10 refers to a standard ACL. However, you want to specify protocol, source, destination and ports - you need the extended ACL for that which are numbered from 100 to 199 and from 2000 do 2699.

As for the obviously DNS-related configuration: the command "ip forward-protocol" is used for UDP helper that forwards UDP broadcasts of a selected protocol to a predefined address. Is that what you want? If you wanted your router to serve as DNS server for other clients then this is not how it is configured. Refer to this document for more information how to run a DNS server on a router:

http://www.cisco.com/en/US/docs/ios/ipaddr/configuration/guide/iad_config_dns_ps6350_TSD_Products_Configuration_Guide_Chapter.html

Best regards,

Peter

Dear peter,

I have added two entries in DNS server

for loopback0(Hostanme of Router) &

for Loopback1(NSAP Address-75505017550014) which is mentioned below

X25 route has given for this to come inside Network from Remote

Nsap address on the remote side is 75505017550014

Nsap address on the Inside network is 20405017550002

The Problem is i have to get ping nsap Successful from that router

---------------

x25 route 75505017550014 interface Serial0/1/1

x25 route 20405017550002 xot z.z.z.z xot-source Loopback0

interface Serial0/1/1

no ip address

encapsulation x25 dce

clock rate 64000

interface Loopback0

description "LOOPBACK-0"

ip address x.x.x.x 255.255.255.255

interface Loopback1

description "LOOPBACK-1"

ip address y.y.y.y 255.255.255.255

HTH

Anand

Hello Anand,

I am sorry but you have confused me here. Your original post suggested that you are either trying to set the IP of the DNS server on a router, or you want the router itself to be a DNS server. Now you have brought in the X.25 and you are explaining me that you basically need to ping the NSAP address of the remote router.

What is what you really are trying to accomplish? Are you trying to solve a name-to-address resolution problem, or a X.25/IP network connectivity?

Best regards,

Peter

I have set the IP of the DNS server on a router,

mainly i want to do the solve a name-to-address resolution problem

Hello Anand,

Can you already ping the the remote end by entering the NSAP address instead of its name?

If you want to use DNS system to translate the domain names into the NSAP addresses, you must enter this command into your global configuration:

ip domain-lookup nsap

I assume that you have created the NSAP-type resource records in your DNS servers. Then you can try to ping the remote location using the NSAP address using the command

ping clns REMOTE-NAME

Best regards,

Peter

i m trying to ping nsap address(75505017550014) only, what will be the NSAP name

Other Query is there that,

My Connectivity is like below

DNS->CS->BBR->(NIB)->AR->ER

Where between DNS & ER Router all other Routers are there,

i have not given first mentioned DNS in BBR,

cant do ping hostname in AR, BBR ( could i have to give DNS in BBR)

but can do ping hostname to the device connected to CS

how can i resolve this

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card