Announcement

Collapse
No announcement yet.

Local IP Not Getting resolved !

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Local IP Not Getting resolved !

    Hi,
    in our Network We Using Sonicwall NSA2400 Firewall, we have Two local DNS Servers too.
    Client Side we Gives IP address with gateway of Firewall and the DNS of Currnet local DNSand the 8.8.8.8 and 4.2.2.2 in advanced option of DNS.

    Problem: Whnever from Client we Try to ping our Local mail Server it Resolving Public IP address rather resolving to Local IP.

    observation: If we remove the 8.8.8.8 and 4.2.2.2 it Resolves Correct Local IP; buit in this Scenariobn users of Internet faced problem for Some Wesite Acces.


    please guide to resolved this.

  • #2
    Re: Local IP Not Getting resolved !

    You should only give the clients the address of the LOCAL DNS server, then (assuming Windows DNS) set up forwarders to 8.8.8.8 etc.

    Client will query local DNS
    Local DNS will forward to 8.8.8.8
    8.8.8.8 will return IP to local DNS server
    Local DNS server will respond to client

    As an alternative to forwarders, you could use root hints, but forwarders are less work
    Tom Jones
    MCT, MCSE (2000:Security & 2003), MCSA:Security & Messaging, MCDBA, MCDST, MCITP(EA, EMA, SA, EDA, ES, CS), MCTS, MCP, Sec+
    PhD, MSc, FIAP, MIITT
    IT Trainer / Consultant
    Ossian Ltd
    Scotland

    ** Remember to give credit where credit is due and leave reputation points where appropriate **

    Comment


    • #3
      Re: Local IP Not Getting resolved !

      As you mentioned I given a Only Local DNS IP Addresses (Windows 2003 Std).
      But Some Website not getting Accesses in this case

      We Using Firewall, in this Firewall(Sonicwall NSA2400) there is DNS Configuration option comes There I mentioned ISP"s DNS and the 8.8.8.8

      Comment


      • #4
        Re: Local IP Not Getting resolved !

        So you need to sort out whatever the problem is with your local DNS server - there clearly is one.

        As soon as clients get public DNS addresses, they can use them, and you won't be able to resolve local addresses properly.

        The scenario I described normally works, so start with testing at your DNS server
        Tom Jones
        MCT, MCSE (2000:Security & 2003), MCSA:Security & Messaging, MCDBA, MCDST, MCITP(EA, EMA, SA, EDA, ES, CS), MCTS, MCP, Sec+
        PhD, MSc, FIAP, MIITT
        IT Trainer / Consultant
        Ossian Ltd
        Scotland

        ** Remember to give credit where credit is due and leave reputation points where appropriate **

        Comment


        • #5
          Re: Local IP Not Getting resolved !

          From Both of the DNS Servers I tried Nslookup for Public IP and the Websites too. i.e google.co, yahoo.com it shows IP addresses in the results.

          On client SIde i tried to Open google.com in IE its not accessed but I tried the IP of Google.com then Page has been Open !
          But in Mozilla when i try for Google.com it works without giving any IP of Google.com.

          I removed and installed IE from Client System but same Problem !

          Comment


          • #6
            Re: Local IP Not Getting resolved !

            Keep it simple - can the DNS servers browse to sites by name?
            If so, the problem is in DHCP (if you are using it)
            If not, fix the DNS server first

            Standard configuration as used by the rest of the world:
            DNS server has loopback address (127.0.0.1) as its own DNS server and has forwarders set up in the DNS control panel to the public servers you are using

            btw, can you confirm:
            DNS servers are Windows (which version and are they also DCs)?
            Clients use DHCP from a Windows DHCP Server to get their IP addresses
            All are using private IP addresses
            Tom Jones
            MCT, MCSE (2000:Security & 2003), MCSA:Security & Messaging, MCDBA, MCDST, MCITP(EA, EMA, SA, EDA, ES, CS), MCTS, MCP, Sec+
            PhD, MSc, FIAP, MIITT
            IT Trainer / Consultant
            Ossian Ltd
            Scotland

            ** Remember to give credit where credit is due and leave reputation points where appropriate **

            Comment


            • #7
              Re: Local IP Not Getting resolved !

              Servers Are below;
              PDC - Windows 2003 R2 32 bit - 192.168.0.20
              ADC - Windows 2003 R2 32 bit - 192.168.0.22
              ------------------------------------------------------------------
              Network Config for PDC -
              IP 192.168.0.20
              Subnet 255.255.252.0
              Gateway 192.168.0.200 (Firewall)
              DNS 1st 192.168.0.20
              DNS 2nd 192.168.0.22

              On this Server google get Open using Domain Name
              -------------------------------------------------------------------
              Network Config For ADC -
              IP 192.168.0.22
              Subnet 255.255.252.0
              Gateway 192.168.0.200 (Firewall)
              DNS 1st 192.168.0.20
              DNS 2nd 192.168.0.22
              On this Server Google Can't open but with IP its works !

              All the IP address are given as Static IP no DHCP server in Network.

              Can you Please suggest the DNS trouble shooting Steps.
              Last edited by swapneel; 4th May 2014, 12:35. Reason: Spelling

              Comment


              • #8
                Re: Local IP Not Getting resolved !

                How are forwarders configured on both DNS servers?

                (Open DNS console and check Forwarders tab)
                Tom Jones
                MCT, MCSE (2000:Security & 2003), MCSA:Security & Messaging, MCDBA, MCDST, MCITP(EA, EMA, SA, EDA, ES, CS), MCTS, MCP, Sec+
                PhD, MSc, FIAP, MIITT
                IT Trainer / Consultant
                Ossian Ltd
                Scotland

                ** Remember to give credit where credit is due and leave reputation points where appropriate **

                Comment


                • #9
                  Re: Local IP Not Getting resolved !

                  Check the configuration on your SonicWALL and make sure your firewall rules are set to allow DNS for the relevant servers.

                  On your DNS servers ensure that you have forwarders setup, I would always advise to use your ISP's DNS servers as they are generally quicker than using Googles or OpenDNS (not all the time thought )

                  Comment


                  • #10
                    Re: Local IP Not Getting resolved !

                    Originally posted by Ossian View Post
                    How are forwarders configured on both DNS servers?

                    (Open DNS console and check Forwarders tab)
                    Under the Forwarders Tab.

                    "All Other Domains" 8.8.8.8 and 4.2.2.2 entry is here. This is found on Both Servers.

                    @wullieb1:

                    Rules for DNS a rule and the policy configured from Sonicwall team.
                    Now I will add ISP's DNS address too, then I will check.
                    Last edited by swapneel; 5th May 2014, 05:08.

                    Comment

                    Working...
                    X