Problem with DNS - ping/Safari cannot resolve, but host/dig work OK

Hi All,
Have a weird problem with DNS which is a bit similar to the following ones:
http://discussions.info.apple.com/thread.jspa?threadID=2190208
http://forums.macrumors.com/showthread.php?t=337942
I connect with remote internal network via OpenVPN and from time to time (yes, intermittent problem :)) internal DNS names cannot be resolved.
When it happens I can still resolve names using host or dig utilities, but applications (like Safari) and ping cannot resolve them.
resolv.conf has proper DNS server set:
*$ cat /etc/resolv.conf*
*# Mac OS X Notice*
*# This file is not used by the host name and address resolution*
*# or the DNS query routing mechanisms used by most processes on*
*# this Mac OS X system.*
*# This file is automatically generated.*
*domain openvpn*
*search openvpn*
*nameserver 10.0.0.1*
More than that - it can resolve those internal names when queried directly, for example using host:
*$ host YYY.XXX.ru 10.0.0.1*
*Using domain server:*
*Name: 10.0.0.1*
*Address: 10.0.0.1#53*
Aliases:
*YYY.XXX.ru has address 192.168.x.y*
but at the same time ping reports "*Unknown host*":
*$ ping YYY.XXX.ru*
*ping: cannot resolve YYY.XXX.ru: Unknown host*
I tried "*dscacheutil -flushcache*" and it did not help. Also tried to comment out domain and search directives in resolv.conf and it did not help as well (and actually it should not matter).
Any ideas why this can happen and what else can I check when it happens again?
Thanks!

I have the same issue. It cropped up after I installed updates to MS Office 2008 and Firefox in which I also saw issues with the icons disappearing in the dock of the applications that were open when I started the Office update. I rebooted to try to get them back, but ended up deleting them and restoring from the Applications folder. I don't know if that's a red herring or not, but I generally try to figure out what has recently changed that may cause something to suddenly start failing.
I'd been working successfully all morning before it started acting up. Switching from wifi to cat5 had no effect.
@realaaa, were you able to resolve without a major undertaking, like reinstalling your OS?
pnmbp:~ pn$ dig goo.gl
; <<>> DiG 9.6.0-APPLE-P2 <<>> goo.gl
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 40996
;; flags: qr rd ra; QUERY: 1, ANSWER: 6, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;goo.gl. IN A
;; ANSWER SECTION:
goo.gl. 140 IN A 74.125.45.139
goo.gl. 140 IN A 74.125.45.102
goo.gl. 140 IN A 74.125.45.113
goo.gl. 140 IN A 74.125.45.138
goo.gl. 140 IN A 74.125.45.101
goo.gl. 140 IN A 74.125.45.100
;; Query time: 27 msec
;; SERVER: 192.168.2.1#53(192.168.2.1)
;; WHEN: Mon Dec 13 16:59:34 2010
;; MSG SIZE rcvd: 120
pnmbp:~ pn$ ping goo.gl
ping: cannot resolve goo.gl: Unknown host
pnmbp:~ pn$ curl <a class="jive-link-external-small" href="http://">http://goo.gl
curl: (6) Couldn't resolve host 'goo.gl'
pnmbp:~ pn$ host goo.gl
goo.gl has address 74.125.45.100
goo.gl has address 74.125.45.101
goo.gl has address 74.125.45.138
goo.gl has address 74.125.45.113
goo.gl has address 74.125.45.102
goo.gl has address 74.125.45.139
pnmbp:~ pn$

Similar Messages

  • Problem with ipad 2 safari cannot download the file for windows live photo gallery

    on ipad 2 safari cannot download the file for windows live photo gallery

    What you can download via Safari on the iPad is very limited - you can only download apps from the iTunes app store on your computer to sync to the iPad, or from the App Store app directly on the iPad

  • HT3226 Having problems with my mouse. Cannot scroll up or down or sideways. Did all the cleaning but still not working. Any help on this??

    Having problems with my mouse. Cannot scroll up or down or sideways. Did all the cleaning but still not working. Any help on this??

    Hello:
    Try resetting the PRAM and SMC.
    Barry

  • I have an older version of Adobe Digital Editions (around 3 years old) and was very happy with it.  Then I had problems with my Kobo Reader and asked a friend who works in IT to assist. She could not fix the Kobo but she messed up my Addobe. She downloade

    I have an older version of Adobe Digital Editions (around 3 years old) and was very happy with it.
    Then I had problems with my Kobo Reader and asked a friend who works in IT to assist. She could not fix the Kobo but she messed up my Addobe. She downloaded version three and I have an account and a password - was not able to transfer my books from my reader to version three (and I don't like the lay-out - I would prefer to stay with the old version as I also loose all my download date info..)
    But all the books I have bought over the last three years are in the old Adobe Digital and I cannot access them any more. When I use it I get the message "that the document is licensed to a different account. I can't even open the books on my computer.
    When I go to my Kobo library, I cannot also not open my books and get the message "this doc is protected by adobe digital rights management and is not currently authorized for use with your adobe. please sign in with your authorized adobe id and try again"
    I believe the problem is that I do not seem to have a digital id for my old adobe or that the Kobo is not in sync with it anymore.
    can you please help me - going on vacation in three days and cannot go without books.

    Please authorize ADE 3 with same credentials that you used with older version of ADE

  • Problems with Mail and Safari

    Hi,
    I'm running OS 10.11 and am having some consistent problems with Mail and Safari on my MacPro Dual 2.66. Here they are:
    Sometimes, for no apparent reason, selecting these applications from the dock no longer opens the application (or a new window if already opened), but causes them to be revealed in the finder.
    In Safari, when this problem occurs, another symptom seems to be that new windows will ONLY open in a new tab, even though I have preferences set to open links in a new window. If I click on a bookmark within a folder in the bookmark toolbar, Safari will open ALL the bookmarks in the folder in new tabs!!
    In Mail, when I open my Inbox, clicking on various messages will highlight (in blue) ALL the messages I'm clicking on, instead of simply displaying the highlighted message in the reader.
    The only way to get things back to normal is to reboot my machine, which is getting to be a total drag, especially since this seems to happen fairly often.
    One other thing that may be related- if my screen saver is running, and I move the mouse to go to an active screen, the computer will "freeze." It stays like this indefinitely- I figured out that if I press the button on the machine itself it will go to sleep, and I can wake it up and then everything is fine, but I don't understand what's going on.
    I have tried using Disk Utility and Disk Warrior, and have used OnyX to clean out my system cache and aall sorts of other stuff, but to no avail.
    Is anybody else experiencing any of this? I'm starting to get really frustrated. Thanks for any advice.
    Cheers,
    Andrew

    Scott,
    I had posted earlier that I had Flash payer problems and then QuickTime and PDF preview problems too, on my Intel PowerMac. I could not figure out what the problem was, because fixing permissions and moving plugins did not work. Console indicated that the Quicktime components were not found, with the problem in a webkit pref file somewhere (nil field value). Anyway, I bailed and reinstalled Leopard from a 10.5.0 DVD, and then updated using the combo updater to 10.5.3. Everything worked. Then, after the 'Java for Mac OSX 10.5 Update 1', it all broke again. This time, repairing permissions resulted in:
    User differs on "System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Home/lib/jvm.cfg", should be 0, user is 95.
    User differs on "System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Libraries/classlist" , should be 0, user is 95.
    Now it all works again. This is obviously a flaw with the Java update, and also somehow Disk Utility did not find it earlier. Anyway, take a look at reverting the Java update, or manually changing user for those files (I suppose user 0 is root, but maybe it is nobody).
    Obscure....

  • After Safari 7.06 update, whenever I connect to RSA Juniper Network Connect, my internet connection get disconnected. It was an issue with old Safari versions. It was fixed around 6 months back with one of Safari update. But, now it is broken again.

    After Safari 7.06 update, whenever I connect to RSA Juniper Network Connect, my internet connection get disconnected. It was an issue with old Safari versions. It was fixed around 6 months back with one of Safari update. But, now it is broken again.
    Anybody experiencing the same problem and any suggestions to fix the issue.

    Hi ..
    Try this discussion >  Can't connect to Juniper VPN

  • Problems with WiFi and Safari

    I have am having problems with my Wifi/Safari. I connect to my WiFi, by entering my password, yet the padlock icon remains, is this normal? Then, when I try to get onto any website on Safari, it says 'Safari can't open the page because it can't find the server.'
    I have tried renewing the lease (not that it is a paid connection, this is my own personal Wifi connection), but that doesn't work either.
    Any pointers?
    Thanks.

    Yes the padlock will stay locked and try getting on Youtube and see if that works because this happened to me and Youtube worked then later i found out that the website i had typed in was not a real website i had it typed in wrong so try that and i hope it works.

  • I'm having problems with 8.1 and Continuity / Handoff. It will work fine for web pages, etc. but in email when I try to do it between by iPhone 5s running 8.1 and my Macbook Pro running Yosemite I consistently get an error.

    I'm having problems with 8.1 and Continuity / Handoff. It will work fine for web pages, etc. but in email when I try to do it between by iPhone 5s running 8.1 and my Macbook Pro running Yosemite I consistently get an error. "Failed to Continue Activity" Cocoa Error 4609.  Handoff is working for phone calls and text messages. By email just crashes each time. It was also doing it under 8.0.2.  My iPhone and iPad handle this fine. It's only the MacBook to the iPhone that fails, and only on email.

    Handoff Continuity Troubleshooting

  • My I phone 4 won't restored  saying there is a problem with the iphone. Appointment made but 5 days away. can anyone help in the meantime

    My I phone 4 won't restored  saying there is a problem with the iphone. Appointment made but 5 days away. can anyone help in the meantime

    You need to do as provided. If no change after restoring as a new iPhone or not from the backup, the iPhone has a hardware problem.

  • I purchased Microsoft Office for Mac through the Apple website.. I have downloaded all from the disk into my Mac, no problem with all the other Word etc, but Outlook is asking for the key number: I have put it in but its obviously not the right one...????

    I purchased Microsoft Office for Mac through the Apple website.. I have downloaded all from the disk into my Mac, no problem with all the other Word etc, but Outlook is asking for the key number: I have put it in but its obviously not the right one...???? In the box with the disk came the product key, have put it in and it doesnt work. Please help..x

    unfortunately - you can not.  you can't even buy outlook by itself at microsoft's own website.
    does it have to be outlook?  maybe you can get away with using something else that's outlook compatible.
    how about trying Thunderbird for Mac OS?
    or maybe you can call apple and let them know you purchase the wrong version - they might give you a break and just pay the difference for the home and business version.
    good luck

  • I am not able to download ITunes. I had some problems with ITunes and had to uninstall but now when I reinstall iTunes after I click on download iTunes and save the File, I get this message"Thank you for downloading iTunes" and nothing else happens. I don

    I had some problems with ITunes and had to uninstall but now when I reinstall iTunes after I click on download iTunes and save the File, I get this message"Thank you for downloading iTunes" and nothing else happens. I don't see any thing else. Now not sure what else I have to do.
    Thanks,
    Ranjit

    See the further information area of Troubleshooting issues with iTunes for Windows updates.
    tt2

  • I have 2 problems with Mail. I cannot address an email to more than one recipient. And I receive some emails more than once.

    I have 2 problems with Mail. I cannot address an email to more than one recipient. And I receive some emails more than once. Can you please help?

    Restart your Mac. See if that makes a difference.

  • Problem with my iTunes store, cannot search, stays in one application that I already purchased. Please help!

    Problem with my iTunes store, cannot search, stays in one application that I already purchased. Please help!

    Go to Settings, Store, Apple ID, Sign out and then sign back in again and have another go.
    Also, try a Reset [Hold the Home and Sleep/Wake buttons down together for 10 seconds or so (until the Apple logo appears) and then release. The screen will go blank and then power ON again in the normal way.] It is app and data safe!

  • Im having a problem with my mic on my ipod 5th gen it works but it douse not pick up any sound unless i  talk right next to the mic. how can i fix this

    im having a problem with my mic on my ipod 5th gen it works but it douse not pick up any sound  unless I  talk right next to the mic but it sounds low  . how can i fix this

    - Make sure the mic hole is clear and unobstructed. It is the little hole on the back by the camera lens(if has back camera). For the 16 GB one without the back camera the mic hole is on the top edge near the center.
    - Reset the iOS device. Nothing will be lost      
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Reset all settings                            
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:                                               
    iOS: Back up and restore your iOS device with iCloud or iTunes
    - Restore to factory settings/new iOS device.                       
    If still problem, make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
    Apple Retail Store - Genius Bar                                                              

  • Hi, i have a problem with the premiere pro,i bought but when i made the download say that i have to buy,but i bought,what i have to make?

    hi, i have a problem with the premiere pro,i bought but when i made the download say that i have to buy,but i bought,what i have to make?

    Does your Cloud subscription properly show on your account page?
    If you have more than one email, are you sure you are using the correct Adobe ID?
    https://www.adobe.com/account.html for subscriptions on your Adobe page
    If yes
    Some general information for a Cloud subscription
    Cloud programs do not use serial numbers... you log in to your paid Cloud account to download & install & activate... you MAY need to log out of the Cloud and restart your computer and log back in to the Cloud for things to work
    Log out of your Cloud account... Restart your computer... Log in to your paid Cloud account
    -Sign in help http://helpx.adobe.com/x-productkb/policy-pricing/account-password-sign-faq.html
    -http://helpx.adobe.com/creative-cloud/kb/sign-in-out-creative-cloud-desktop-app.html
    -http://helpx.adobe.com/x-productkb/policy-pricing/activation-network-issues.html
    -http://helpx.adobe.com/creative-suite/kb/trial--1-launch.html
    -ID help https://helpx.adobe.com/contact.html?step=ZNA_id-signing_stillNeedHelp
    -http://helpx.adobe.com/creative-cloud/kb/license-this-software.html
    If no
    This is an open forum, not Adobe support... you need Adobe staff to help
    Adobe contact information - http://helpx.adobe.com/contact.html
    -Select your product and what you need help with
    -Click on the blue box "Still need help? Contact us"

Maybe you are looking for

  • APP ERROR 523 NEED TO FIX WITHOUT DATA LOSE

    SIR, MY BLACK BERRY CRUVE 8520 SHOWING APP ERROR 523 . PLEASE ADVISE HOW TO I CAN FIX WITHOUT DATA LOSE OF MY BLACK BERRY. I HAVE DOWN LOADED BLACK BERRY DESTOP MANAGER.. SINCE TWO MONTHS I DIDNT GET BACK UP OF MY MOBILE. PLEASE ADVISE URGENTLY.. PLE

  • Issue for Production

    We are getting the following error when we use the "Issue for Production" form "StoreDocData: 0 : The Loged on User does not have permission to use the object" Is there an authorization I have missed? Thanks, Rob

  • This type of report ,possible in APEX 3.1(URGENT)

    EMPNO: 1234 ENAME: X7C7 DESCRIPTION: DSLFJDSL SDFSDF DFKDSLFJ SDLFJSDLF DSFSDLFJS FDKFDF ADDRESS: 23/567/9B This is a Form like Report, can we create this type of report in APEX 3.1

  • Ms Backup Error(Bkf ) Recovery

    Sometimes, the backup files get corrupt, damaged and this happens when the backup files are saved in the local hard disk and not protected by System Restore. Common causes of BKF file corruption are CRC errors, registry corruption, backup interruptio

  • Translation error in Norwegian iTunes 9

    Is there any place I can report a translation error? The error is the word "Genre", which is translated with "sjangere". The right translation is with a captial S ("Sjangere"). In addition, "Album" is translated with "Albumer", which is also wrong. "