05-03-2012 07:03 AM - edited 03-11-2019 04:01 PM
Hi Expert.
How I can allow dmz zone server to resolve only dns query through nslookup on ASA 5540 ?
What is the configuration required on ASA 5540 ?
Thanks
Solved! Go to Solution.
05-03-2012 07:06 AM
Samir,
So if the hosts automatically wants to know the name for a server on the outside, you dont want that? You only want the ASA to permit the DNS query if it is beng executed through nslookup?
Mike
05-03-2012 07:06 AM
Samir,
So if the hosts automatically wants to know the name for a server on the outside, you dont want that? You only want the ASA to permit the DNS query if it is beng executed through nslookup?
Mike
05-03-2012 07:10 AM
Mike,
Thanks for your reply.
"You only want the ASA to permit the DNS query if it is beng executed through nslookup?" YES EXACTLY
05-03-2012 07:18 AM
This question is not answered. By mistak I click on Correct Answer
05-03-2012 07:28 AM
Samir,
I just did a quick packet capture to see if there was any remarcable difference between the query done autmatically by the computer or the one executed via nslookup and they are the same. Nothing changes. Since there is no verifiable way to differentiate one another, you may need to find a solution that can be implemented on the host itself.
Mike
05-03-2012 07:31 AM
Mike,
I want to know.
How I can allow http request from dmz zone server to specifie outside webserver ( for eg 1.1.1.1)
Can you advice.
05-03-2012 07:41 AM
05-03-2012 07:44 AM
Unfortunetly, this is not the thing I'm looking for.
05-03-2012 07:44 AM
Hi Samir,
By IP address will be very simple, depending on the security level that it has (higher than 0 for DMZ and 0 for the outside) it will be allowed by default.
If there is an access-list alreay applied denying all the http traffic what you need to do is simply allowed that specific host on the ACL and then deny the rest.
Access-list DMZ permit tcp host
Access-list DMZ deny ip any any
access-group DMZ in interface DMZ
Then you can add a host entry on the hostfile for the server on the DMZ to translate the IP address to a hostname and you will be able to access it using the web browser (not really scalable, but it works)
WARNING: This will only allow traffic from the DMZ server going to specific host on the internet on port 80, any other traffic going to any other interface will be dropped.
Mike
05-03-2012 07:47 AM
Do you I NAT ?
05-03-2012 07:53 AM
Didnt quite get the last message, can you explain please?
Mike
05-03-2012 08:01 AM
Ok the last thing I want to ask
I have confgiured the public dns ip on my server interface ( eg 2.2.2.2) I want to make nslookup to google.com but ti gives me error request time-out but I create this rule on ASA for eg:
nat (DMZ-1) 10 172.16.1.202 255.255.255.255 tcp 0 0 udp 0
it works fine. I know this not secure to allow everything How can i successfully perform nslookup withou giving all access
I hope it's clear.
Thanks
Samir
05-03-2012 08:20 AM
Just permit udp 53 for that host to go out on your ACL while denying the rest of the traffic.
Mike
05-03-2012 08:25 AM
please can you provide me the command line..
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide