How do i find out my DNS Server IP ?

Discussion in 'OS X' started by Mac., Apr 5, 2008.

  1. macrumors 6502

    Joined:
    Jan 14, 2008
    Location:
    UK
    #1
    Anyone know how to find out my DNS Server IP (s) ?

    Thanks allot.
     
  2. macrumors 6502a

    Joined:
    Apr 2, 2007
    Location:
    Leeds, UK
    #2
    Open Terminal.app, and type :
    Code:
    cat /etc/resolv.conf | grep nameserver
    
     
  3. macrumors 603

    scaredpoet

    Joined:
    Apr 6, 2007
    #3
    For the Terminal-Phobic, there is a graphical way to do this.

    In Preferences, select the Network pane. The active connection should display all settings, including DNS server.

    Note that some home routers are configured so that connected computers see that router as the DNS server. In that case, you might have to log into your router and find out the IP address of your real DNS server.
     

    Attached Files:

  4. thread starter macrumors 6502

    Joined:
    Jan 14, 2008
    Location:
    UK
    #4
    Thanks guys
     
  5. macrumors 65816

    steveza

    Joined:
    Feb 20, 2008
    Location:
    UK
    #5
    An alternative terminal command that's easier to remember is nslookup. That will give you a > prompt at which you type server. That will return your primary name server. You can also use the prompt to test DNS lookups for example:

    XXXXXXX:~ steve$ nslookup
    > www.google.com
    Server: 192.168.1.254
    Address: 192.168.1.254#53

    Non-authoritative answer:
    www.google.com canonical name = www.l.google.com.
    Name: www.l.google.com
    Address: 64.233.183.104
    Name: www.l.google.com
    Address: 64.233.183.147
    Name: www.l.google.com
    Address: 64.233.183.99
     
  6. thread starter macrumors 6502

    Joined:
    Jan 14, 2008
    Location:
    UK
    #6
    Cheers mate!
     
  7. macrumors 65816

    steveza

    Joined:
    Feb 20, 2008
    Location:
    UK
    #7
    No worries :)
     
  8. macrumors newbie

    Joined:
    Jan 23, 2011
    #8
    Try this site http://www.whoisxy.com/ to get the DNS server ip and also get the ip to domain,domain to ip,ping test,etc......
     
  9. macrumors newbie

    Joined:
    May 8, 2011
    #9
    DNS Server

    That picture is different than mine,how do you get a visual of your DNS server in Tiger?
     

Share This Page