LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-30-2014, 07:05 AM   #1
yzT!
Member
 
Registered: Jan 2013
Distribution: Debian
Posts: 168

Rep: Reputation: 2
Different IP resolved by different DNS


If I run "dig @8.8.8.8 domain.com A" I get an IP which is different to the one I get running "dig @company_owned_dns_server domain.com A".

Both IPs seem to be in the same block. Let's say one is 200.100.50.20 and the other is 200.100.50.80.

Setting up my DNS with the company_owned_dns_server I cannot connect to domain.com, so I guess the good IP is the one resolved by Google.

Assuming domain.com is a domain owned by the company, what does this mean?
 
Old 06-30-2014, 07:08 AM   #2
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 3,497

Rep: Reputation: 1570Reputation: 1570Reputation: 1570Reputation: 1570Reputation: 1570Reputation: 1570Reputation: 1570Reputation: 1570Reputation: 1570Reputation: 1570Reputation: 1570
Most likely they have a long TTL (cache time) in their SOA.

I've seen companies that set the TTL to 1 week, so any other DNS server will cache results for that domain for up to 1 week.
 
Old 06-30-2014, 03:12 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,052

Rep: Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632
Are you inside the company doing this?

Somewhat related is some good info on dig. http://www.thegeekstuff.com/2012/02/...mand-examples/
 
Old 07-01-2014, 02:58 AM   #4
yzT!
Member
 
Registered: Jan 2013
Distribution: Debian
Posts: 168

Original Poster
Rep: Reputation: 2
Outside
 
Old 07-01-2014, 02:32 PM   #5
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,052

Rep: Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632
I guess TenTenths is correct in that the company owned server is out of date. It could be that they want to limit web sites to some honeypot or other situation. Odd that they'd provide dns results to outside the company I think. Dunno, maybe common.
 
Old 07-01-2014, 05:50 PM   #6
yzT!
Member
 
Registered: Jan 2013
Distribution: Debian
Posts: 168

Original Poster
Rep: Reputation: 2
I no longer have access to that dns server. It seems that was some error and they noticed it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Problem resolved DNS sameone Linux - Networking 40 08-03-2011 08:10 AM
dns is resolved but the site shows default page sunethj Linux - Server 2 01-08-2008 03:04 AM
weird dns problem, all names resolved except one rogerdv Linux - Networking 4 06-14-2007 07:46 AM
SUSE 10.0 (eval dvd) DNS's not resolved after starting X 1kyle SUSE / openSUSE 3 03-23-2006 05:08 AM
SUSE 10.0 (eval dvd) DNS's not resolved 1kyle SUSE / openSUSE 0 03-23-2006 03:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration