How To Get The Auth Token (Identifier) From An iPhone 4S Using Your Own DNS Server


This tutorial is based on a german article from the site Ketchup Mayo Senf. We take no credit for this tutorial. If you speak german, check out the original article as it is a little more detailed.

What you need

  • Linux or Mac (this tutorial is written for OpenSuse 11.3)
  • openssl
  • zlib
  • ruby
  • rubygems
  • DNS Server
  • SiriServer by Applidium

1. First, you need to install some packages

zypper install openssl
zypper install openssl-devel
zypper install dns
zypper install zlib*
zypper install ruby*
zypper install make
zypper install gcc*
zypper install libxml2*

(some linux distibutions may require apt-get instead of zypper)

Extract the files of the Siri Server to ~/hacks

2. Install Rubygems

gem install eventmachine — -with-ssl-dir=/usr/bin/openssl
gem install CFPropertyList

3. Create Certificates

You can download the files provided by Ketchup Mayo Senf:


Copy these files to ~/hacks as well. E-Mail the ca.crt to your iPhone 4S and install it.

4. DNS Server

Download the Fake Mini DNS Server, save it as “” and copy it to ~/hacks

Replace the IP on line 29 with the IP of your computer

Run it with “sudo python” (The DNS Server needs to keep running in the background, don’t close the window.)

5. Start the Ruby Server

Now open a new console window and start the Siri Server with the command “ruby siriServer.rb”

That’s it! You can now connect the iPhone 4S to your Server, say something to Siri and all the important Information will be dumped by the server. If it doesn’t work you should restart your iPhone because the DNS settings are sometimes cached.

Follow us on Twitter of Like our Facebook page to get the latest news from our site:

Share this article


32 thoughts on “How To Get The Auth Token (Identifier) From An iPhone 4S Using Your Own DNS Server

  1. Hiho,

    nice to see somebody translating my tutorial.

    i would suggest to add some more infos to your english version:

    “Run it with “sudo python”” <- there the information that it you need this to be running all the time. to run the siri server you need to open a new console. (if in gui just open a new tab, if in shell use ctrl+alt+fNUMBERHERE (f.e. ctrl + alt + f4))

    the tutorial can be used on MacOS / Ubuntu etc as well. there you have to be sure to have "ssllib" installed for eventmachine. else it wont compile in ssl mode.



    • Hey, are there any modifications to the tutorial if I’m using Mac OSX? I saw your comment and I read this: “the tutorial can be used on MacOS / Ubuntu etc as well. there you have to be sure to have “ssllib” installed for eventmachine. else it wont compile in ssl mode.” but I’m not quite sure what that means or what changes need to be done. thanks.

  2. Possibly a daft question by “…You can now connect the iPhone 4S to your Server…” can this be done via a 3G connection using a VPN to the server?

  3. Some couples who would like to sign a post nuptial agreement are on the method to divorce. With this at heart, it is vital that you adopt principle help of this type of wonderful person. A 10% deposit (of house price) is usually necessary as well as insurance premiums.

  4. It is time that you can begin looking for any cheap divorce attorney to obtain through while using divorce, if the relationship using your spouse is beyond saving. Basically, regardless of what place of reality you have reached, there is a trusted and experienced resource available whenever you have discord, contention and confusion and stress. If your best professional practices around your city, selecting capable of getting the benefits of knowing high ranking legal authorities.

  5. I will be very happy to be in this article because this is a very
    good website providing you with many info on your topics coated thorough.
    Im thankful to discover that men and women are in fact
    writing about this trouble in their normal smart method, showing all of us diverse
    attributes to it. Remember to continue the good work.
    We won’t be able to hold out to learn to read whats following.

  6. I do consider all the ideas you’ve introduced to your post.
    They’re really convincing and can definitely work.

    Still, the posts are very quick for newbies. May just you please extend them a little from subsequent time?

    Thank you for the post.

  7. I do not even know how I ended up here, but I thought this post was great.
    I don’t know who you are but certainly you’re going to a famous
    blogger if you are not already 😉 Cheers!

  8. Thanks with this post, Alexandre. Not the amount of matter We follow on my own,
    nevertheless it is superb and My spouse and i appeared onward
    for you to turning out to be additional informed about
    these works involving Bach’s by way of these kind of

  9. We are a bunch of volunteers and opening a brand new scheme in our community.

    Your site offered us with valuable information to work on. You’ve done an impressive process and our whole neighborhood
    will probably be thankful to you.

  10. Hello this is kind of of off topic but I was wondering if blogs use
    WYSIWYG editors or if you have to manually code with HTML.
    I’m starting a blog soon but have no coding expertise so I wanted to get advice
    from someone with experience. Any help would be greatly appreciated!

  11. There are those which made him a darling of many while others got him
    in trouble especially with the authorities. The Westie hhas thhe Terrier ciat which
    is doublle layered to protect him in the field.
    You need an effective logistics and transportation management strategy in place, as detailed inn
    our article on “Logistics Management”.

    Look into my site Ember arts

  12. When I initially commented I seem to have clicked
    on the -Notify me when new comments are added- checkbox and from
    now on each time a comment is added I recieve 4 emails with the same comment.

    Perhaps there is an easy method you are able to remove me from that service?


  13. I’m truly enjoying the design and layout of your blog.

    It’s a very easy on the eyes which makes it much more enjoyable for
    me to come here and visit more often. Did you hire out a developer to create your theme?
    Superb work!

    my web page; Keutamaan Sujud Tilawah - Porter -

  14. I’m amazed, I have to admit. Seldom do I encounter a blog
    that’s equally educative and engaging, and let me tell you, you’ve
    hit the nail on the head. The problem is an issue that not enough people are speaking intelligently about.
    I’m very happy that I found this during my hunt for something relating to this.

    Feel free to visit my blog jual sprei murah (Raul)

  15. Thanks for the suggestions shared on the blog. Something also important I would like to talk about is that skin infection removal is not all about going on a celebrity
    diet and trying to get rid of as much weight as you can in a few months, it is about Getting rid of
    Fungus On Skin Today Via Clean Cure.

    my web-site web page

Leave a Reply

Your email address will not be published. Required fields are marked *