Link to home
Start Free TrialLog in
Avatar of D H
D HFlag for Bermuda

asked on

Unable to resolve correct external IP address

I have a server that is unable to resolve the correct IP address for a specific host. Instead it is returning an erroneous internal IP that isn't correct. I cannot find any entries in DNS referring to the host, nor are there any hosts defined in the host record in system32\drivers\etc...

I've flushed DNS cache multiple times...

Ultimately the site is unable to send any emails to this specific domain because of this.

I don't know where else to look.

Any assistance would be appreciated.
Avatar of Suliman Abu Kharroub
Suliman Abu Kharroub
Flag of Jordan image

A quick solution is to create a new record with the correct ip on hosts file until you resolve the problem.

try nslookup server_name 8.8.8.8 to get the correct ip.

8.8.8.8 is a global DNS server for google.
Avatar of D H

ASKER

I know what the correct IP should be, but doing the nslookup you just recommended still returns the same incorrect IP.
Then the FQDN is registered on the internet with invalid ip address.

you should change the FQDN from the domain hosting control panel. if they dont have control panel then email/call them.
SOLUTION
Avatar of Viral Rathod
Viral Rathod
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of D H

ASKER

That's not the case. I can look up the same server from my personal network and get the correct IP. You do a lookup for outlook.wrcbermuda.com and you'll get a 199.172.x.x address, which is what is correct. I think it's something within my local network, if not the server, then something else throwing back the incorrect address.From my server on the site, I'm getting a 10.10.x.x no matter what.
Avatar of D H

ASKER

@viralrathod

I stated in my original question that I:

1. Checked DNS for entries (NOT THERE)
2. Checked Host records (NOTHING THERE)
3. Flushed DNS cach (NO DIFFERENCE)

I just added google's 8.8.8.8 to forwarders & restarted DNS services. (NO DIFFERENCE)

My server's DNS entry in the NIC is itself.
does your internal DNS server host wrcbermuda.com dns zone ? if so check your records.

to get more details about name how name was resolved, use:

nslokup
set d=1
outlook.wrcbermuda.com

Avatar of D H

ASKER

@sulimanw
Here's the response I received. No my local DNS server does not host that domain...


------------
Got answer:
    HEADER:
        opcode = QUERY, id = 2, rcode = NXDOMAIN
        header flags:  response, auth. answer, want recursion, recursion avail.
        questions = 1,  answers = 0,  authority records = 1,  additional = 0

    QUESTIONS:
        outlook.wrcbermuda.com.partners.local, type = A, class = IN
    AUTHORITY RECORDS:
    ->  partners.local
        ttl = 3600 (1 hour)
        primary name server = srvsbs03.partners.local
        responsible mail addr = hostmaster
        serial  = 3466
        refresh = 900 (15 mins)
        retry   = 600 (10 mins)
        expire  = 86400 (1 day)
        default TTL = 3600 (1 hour)

------------
------------
Got answer:
    HEADER:
        opcode = QUERY, id = 3, rcode = NOERROR
        header flags:  response, want recursion, recursion avail.
        questions = 1,  answers = 1,  authority records = 0,  additional = 0

    QUESTIONS:
        outlook.wrcbermuda.com, type = A, class = IN
    ANSWERS:
    ->  outlook.wrcbermuda.com
        internet address = 10.10.12.250
        ttl = 0 (0 secs)

------------
Non-authoritative answer:
Name:    outlook.wrcbermuda.com
Address:  10.10.12.250

ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of D H

ASKER

Turned out to be issue with firewall for client network inside same building.