Results 1 to 4 of 4

Thread: filtering nslookup results

  1. #1
    Member
    Join Date
    Jul 2001
    Posts
    62

    filtering nslookup results

    Does anyone have an idea on how to filter nslookup results from inside a firewall when trying to use an outside dns server as the source? Basically if I have a RedHat 7.2 server running iptables and acting as a NAT server, how could I make it not allow "inside" users to use nslookup or dig without our DNS being the source server?

    Thanks for any help or assistance you can lend.
    dAggressor

    It\'s a long life, until you die

  2. #2
    u can filter (deny) port 53 (TCP & UDP) on the NAT rules.

    ByE!
    grobyccil

  3. #3
    Member
    Join Date
    Jul 2001
    Posts
    62
    That's true, but I guess I would have to only allow 53 to our specific dns IP address. I will give that a shot, that was the direction I was leaning anyway, I just wanted to know if there was a better method. Thanks for your help.

    dAggressor
    dAggressor

    It\'s a long life, until you die

  4. #4
    When u have a NAT, the requests comes to the firewall, are translated and the fw send the packets to destination.
    If u have a dns server, then the internal PC can resolve the names using it. In other case, they needs send the dns queries to another dns server.
    External machines dont know if you have a 'real' PC (real IP) or internal PC. They just see the real IP.

    ByE!
    groby

    PS Sorry for my english...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •