DNS server provided by VPN to Mountain lion doesn't work

We are producing proprietary VPN server and client. After upgrade to Mountain lion the DNS stopped working. I noticed that if_index is now in the dns resolver decription when scutil --dns is used for listing. This if_index refers to the physical network interface. So I tried to send public DNS server from our VPN server. It helped because the DNS resolution is done over physical interface. Problem is that we need to use private DNS server, that is the purpose of VPN. The only suspicious piece of code is
str = SCDynamicStoreKeyCreateNetworkServiceEntity(0, kSCDynamicStoreDomainState, gs_dynamicCache.m_serviceId, kSCEntNetIPv4);
whic copies IPv4 settings from primary IPv4 sesrvice. Can you recommend good article where I would find and understand DNS reolution guidelines for Mountain lion? It is impossible to find something about that if_index. And we are pretty sure that it works correctly on Lion.

cima.m wrote:
We are producing proprietary VPN server and client.
Please don't. People absolutely detest those things. MacOS X includes perfectly good VPN clients that work far better than any proprietary VPN. Why don't you just change the server to work with what ships with MacOS X?

Similar Messages

  • TS1292 redeem code sent by apple for mountain lion doesn't work

    why is this??

    mine took forever to download so read a post to sign out of apple store and reboot and try again!! Tried and it said I had used it already??? I have not downloaded mountain lion???? Can I get another code, bought my macbook pro today...... Very frustrated

  • VPN connection with Lion doesn't work

    Hello,
    I am using the System Preferences to connect to the VPN network of my university. It's a Cisco IPSec. But since the update to OS X Lion it doesn't work anymore. I did not change the preferences of the VPN so they are correct. I also deleted the VPN connection and re-enetered the VPN settings but it stil doesn't work. Yesterday I asked the people from the computation centre but they have also no clue.
    Does anyone has a clue what to do?
    Best regards
    Frank

    Is your disk partitioned into more than just one mac partition and the bootcamp partition by any chance?
    A second Mac partition?
    This sympton is often caused by the Windows partition moving to be to be the 4th or higher partition, which it doesn't like for booting. Lion installs an extra partition - the recovery partition at the beginning of the drive and shuffles everything down one effectively, so if your bootcamp partition was the 3rd it becomes the 4th and Windows becomes unhappy about booting

  • Search in Mail (Mountain Lion) doesn't work

    I have a new MacBook Air running 10.8.5, and migrated a new user from an older Mac using Migration Assistant. Everything is fine but the search function doesn't return any results in Mail. I have rebuilt the mailboxes, and also re-indexed spotlight by adding then deleting the disk. All the posts about this subject on the forums are quite old...has this problem been solved yet?
    (Note that when I do the search using Spotlight, the emails do show up. It's when I use the search function within Mail that I get no results.)
    Thanks for any help.
    <Subject Edited by Host>

    Please follow these directions to delete the Mail "sandbox" folder.
    Back up all data.
    Triple-click anywhere in the line below on this page to select it:
    ~/Library/Containers/com.apple.mail
    Right-click or control-click the highlighted line and select
    Services ▹ Reveal
    from the contextual menu.* A Finder window should open with a folder named "com.apple.mail" selected. If it does, move the selected folder — not just its contents — to the Desktop. Leave the Finder window open for now.
    Log out and log back in. Launch Mail and test. If the problem is resolved, you may have to recreate some of your Mail settings. You can then delete the folder you moved and close the Finder window. If you still have the problem, quit Mail again and put the folder back where it was, overwriting the one that may have been created in its place. Post your results.
    Caution: If you change any of the contents of the sandbox, but leave the folder itself in place, Mail may crash or not launch at all. Deleting the whole sandbox will cause it to be rebuilt automatically.
    *If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combinationcommand-C. In the Finder, select
    Go ▹ Go to Folder...
    from the menu bar, paste into the box that opens (command-V). You won't see what you pasted because a line break is included. Press return.

  • Locals time on dashboard mountain lion doens't work

    Hi, my locals time on new dashboard of mountain lion doesn't work! it's not possible to set the location, doesn't appair "i" on the icon.. Somebody has the same problem?? Helppp!!!!

    OneBigBear
    Re: iTunes Match on Mountain Lion doesn't work on my 2012 MacBook Pro. I had Lion before, and iTunes Match worked fine. Now it disconnects and back every few seconds. I tried resetting cache, iTunes, turning on/off match, but nothing works. Now what? 
    Jul 30, 2012 11:50 PM (in response to OneBigBear)
    but Itunes Match works fine on my iMac and my iPhone 4 still.
    Did you have iTunes Match on LION previously? or just on Mountain Lion ?
    I can access all my content from my iPad, AppleTV and iPhone, just my Mac keeps retrying. I can even re-download songs to my Mac.

  • How do I set up a vpn on mountain lion ?

    Hi, is there anyway to set up a vpn on mountain lion ? I'll be traveling to China soon where internet access is limited. Is there anyway to make a free reliable vpn myself using my home connection ?

    You first have to set up the VPN endpoint on your server. The only reliable way to do that is to install OS X Server and enable the VPN service.
    To run a public VPN server, you also need to do the following:
    1. Give the gateway either a static external address or a dynamic DNS name. The latter must be a DNS record on a public DNS registrar, not on the server itself. Also in the latter case, you must run a background process to keep the DNS record up to date when your IP address changes.
    2. Give the VPN server a static address on the local network, and a hostname that is not in the top-level domain "local" (which is reserved for Bonjour.)
    3. Forward external UDP ports 500, 1701, and 4500 (for L2TP) and TCP port 1723 (for PPTP) to the corresponding ports on the VPN server.
    4. Configure any firewall in use to pass this traffic.

  • VPN crashing Mountain Lion Finder

    When using the VPN with Mountain Lion over IPSec using ShareSecret (I'm using an installed Profile) if I disconnect the whole OS goes crazy and Safari Hangs, and then eventually the toolbar widgets spin the wheel of death, I then tried to kill com.apple.SystemUIServer.agent but Finder relaunch eventually allowed me to "Open" finder again.
    All in all, not what one would expect from merely connecting to a VPN network.
    Here's a section of the system log...
    Sep 27 22:10:59 localhost kernel[0]: New Power Throttle state:1 Old state:0
    Sep 27 22:11:00 localhost kernel[0]: New Power Throttle state:0 Old state:1
    Sep 27 22:11:41 localhost coreservicesd[27]: SendFlattenedData, got error #268435459 (ipc/send) invalid destination port from ::mach_msg(), sending notification kLSNotifyApplicationDeath to notificationID=142
    Sep 27 22:11:41 localhost com.apple.launchd.peruser.501[119] (com.apple.SystemUIServer.agent[147]): Exited: Killed: 9
    Sep 27 22:11:55 localhost Dock[145]: Unable to open IOHIDSystem (e00002bd)
    Sep 27 22:11:55 localhost kernel[0]: virtual bool IOHIDEventSystemUserClient::initWithTask(task_t, void *, UInt32): Client task not privileged to open IOHIDSystem for mapping memory (e00002c1)
    Sep 27 22:12:52 localhost com.apple.launchd.peruser.501[119] (com.apple.Finder[148]): Exited: Terminated: 15
    Sep 27 22:12:52 localhost WindowServer[80]: dict count after removing entry for window 0x2f is 0
    Sep 27 22:12:56 localhost com.apple.launchd.peruser.501[119] ([0x0-0x42d42d].com.apple.Safari[5965]): Exited: Terminated: 15
    Sep 27 22:12:59 localhost com.apple.launchd.peruser.501[119] ([0x0-0x431431].com.apple.ActivityMonitor[5980]): Exited: Terminated: 15
    Sep 27 22:13:13 localhost com.apple.launchd.peruser.501[119] (com.apple.Finder[5991]): Exited: Terminated: 15
    Sep 27 22:13:24 localhost WindowServer[80]: dict count after removing entry for window 0x642 is 0
    Sep 27 22:13:24 localhost com.apple.launchd.peruser.501[119] (com.apple.Finder[5995]): Exited: Terminated: 15
    Sep 27 22:13:24 localhost SystemUIServer[5988]: *** WARNING: -[NSImage compositeToPoint:operation:fraction:] is deprecated in MacOSX 10.8 and later. Please use -[NSImage drawAtPoint:fromRect:operation:fraction:] instead.
    Sep 27 22:13:24 localhost SystemUIServer[5988]: *** WARNING: -[NSImage compositeToPoint:fromRect:operation:fraction:] is deprecated in MacOSX 10.8 and later. Please use -[NSImage drawAtPoint:fromRect:operation:fraction:] instead.
    Sep 27 22:14:18 localhost WebProcess[6009]: objc[6009]: Object 0x7feea9c1c940 of class NSUserDefaults autoreleased with no pool in place - just leaking - break on objc_autoreleaseNoPool() to debug
    Sep 27 22:14:48 --- last message repeated 1 time ---

    Wrong forum area.  You need to post over in the Mountain Lion forums because your issue is os related not related to your Macbook Pro.

  • HT1338 Do you update Mac OS X Server 10.7.4 on the mini cube server  to the OS X Mountain Lion

    Please advise me, if you have the answer.
    Do you update Mac OS X Server 10.7.4 on the mini cube server to the OS X Mountain Lion.
    Thank You, in advance for your help. 

    Simply go into the App store and download Mountain Lion. Lion server is upgraded by the Mountain Lion install and after that you can install OS X Server.

  • They gave me OS X Server instead of OS X Mountain Lion

    i recieve the email from apple and the email clearly stated redeem for Mountain Lion. but after i redeem at App Store, i couldnt start download because the redeem code was for OS X Server instead of OS X Mountain Lion. come on this is clearly a joke. anyone else got the same problem?

    http://www.macrumors.com/2012/07/26/apple-mistakenly-sending-out-os-x-server-rep lacement-up-to-date-codes/

  • Server admin is unable to login to server.app after upgrade to Mountain Lion Server?

    After upgrade to Mountain Lion Server I am unable to login to the server tools. When I input the admin user name and password the dialog box just shakes indicating the wrong password. But it is the correct password. How do I reset the password or if necessary how do I rest the server and start over on Mountain Lion. I found info on how to reset the server on previous versions of the server which involved executing a plist in the LaunchDaemon folder. However that file does not exist on the server following upgrade to Mountain Lion.
    Thanks, Howard

    I upgraded today and had the same issue. I took following steps to fix my computer.
    Boot into Recovery Partition (Hold Option Button while booting)
    Open Terminal.
    Type resetpassword
    Select your hard drive
    Select the user account (Administrator)
    Enter a new password for the user
    Reenter password
    Save
    Restart
    Boot normally, Login as Adminstrator with the new password and add "Admin" permission to your account.
    Restart
    Everything should be working as expected

  • Numbers does not open with the main user after installing mountain lion. It works flawlessly when I use the second account on my mac. What got corrupted in the admin-account, something in the user-library? How can I fix it? I´m kinda desperate...

    Numbers does not open with the main user after installing mountain lion. It works flawlessly when I use the second account on my mac. What got corrupted in the admin-account, something in the user-library? How can I fix it? I´m kinda desperate... (the same happens with the other iWork-Apps!)
    Looking forward to hearing from somebody with a littlemore expertise than me, Chris

    you can remove preferences files by navigating to the Preferences folder for your user as follows:
    0) Quit ALL iWork apps (Keynote, Pages and Numbers)
    1) from the Finder select the menu item "Go > Go To Folder…".  This will bring up a dialog:
    2) enter the path "~/Library/Preferences" (no double quotes)
    3) find the files:
    com.apple.iWork.Keynote.plist
    com.apple.iWork.Numbers.plist
    com.apple.iWork.Pages.plist
    and move these to the trash.  I would NOT empty until later.
    4) restart Numbers

  • I just purchased a MacBook Pro Retina. Checked my OSX and it is version 10.8.1... trying to find a way to upgrade to a higher version. In the app store it doesnt show the update nor downloading the new Mountain Lion OXS doesnt work. Please help

    I just purchased a MacBook Pro Retina. Checked my OSX and it is version 10.8.1... trying to find a way to upgrade to a higher version. In the app store it doesnt show the update nor downloading the new Mountain Lion OXS doesnt work. Please help

    hienn,
    Not yet. There was an upgrade page to 10.8.2 for the late 2012 models but it's down now. I have to assume that Apple pulled it because of some bugs. I would look for something next week, more likely than not. In the meantime, the OP should be good with 10.8.1 until the update shows up again.
    Clinton

  • Back in the days of leopard, the dashboard widgets would come to the foreground but you could still see what you were working on.  Now I've updated to mountain lion and the work is no longer visible when I activate dashboard.  Can I change that back?

    back in the days of leopard, the dashboard widgets would come to the foreground but you could still see what you were working on.  Now I've updated to mountain lion and the work is no longer visible when I activate dashboard.  Can I change that back? 

    Go to system preferences, mission control, and unselect "Show Dashboard as a Space".  While you're there, you may want to make dashboard set to a hot corner "Hot Corners" button at the bottom.

  • After installing Mountain Lion doesn't external hard drives mount or stay mounted. Anybody else with this major problem?

    After installing Mountain Lion doesn't external hard drives mount or stay mounted.
    I have tried resetting my Mac's PRAM but the problem still remains.
    Even USB memory sticks are unmounted efter a few seconds.
    Anybody else with this major problem?

    I have the same problem, although mine has not been solved by ESET update, finder settings, PRAM & SMC resets or anything else.
    Don't get it, my external hard drive still works on both my housemates computers - one macbook pro (with snow leopard) and one dell, just not on mine with mountain lion.
    Any ideas for me guys?

  • HT4245 my iMessage on my macbook pro mountain lion won't work.

    this is a very frustrating problem
    my iMessage on my macbook pro mountain lion won't work.
    it keeps on saying that ive entered the wrong passcode.
    i even have my firewall turned off
    plz help

    Ok...
    So I bought my MacBook Pro second hand, and it came with no installation discs, but I got Mountain Lion and had it installed and decided to back it up to a disc in case of this scenario. I followed some instructions to make a bootable disc and used it to install a fresh copy of Mountain Lion back when I first got it.
    My problem is that without the boot partition of my MacBook's hard drive it doesn't seem to want to boot the disc.
    Since I didn't want to buy a disc and I don't have another MacBook or know anyone near me that does, I decided to download a hackintosh iso and use it along with my other laptop to install iPC 10.5.6....this installed successfully and my hopes were that my MacBook would be able to boot it, so I reinstalled my MacBook's hard drive and to my surprise it booted, although not normally. Since it is hackintosh it has some rewritten boot features so it's not a true OSX, but it is fully functional. Since I finally had OSX booted I figured I was in the clear and would be able to install Mountain Lion from this, but then I found out that you have to have Snow Leopard 10.6.8 or later in order to install Mountain Lion.
    Now I'm stuck with a hactintosh version of Lion and still no way to get back to Mountain Lion, is there anything I can do now that I have a functional OSX installation?

Maybe you are looking for