How do I find the IP of my current DNS server?

Posted:
in Genius Bar edited January 2014
This is over a dial-up connection. The Mac OS 10.2 Box automatically recieves the IP for the DNS server. How do I find it so I can get the WinXP box to surf the net?



Barto

Comments

  • Reply 1 of 7
    overhopeoverhope Posts: 1,123member
    System Preferences > Network> TCP/IP tab, look in the DNS servers box.
  • Reply 2 of 7
    bartobarto Posts: 2,246member
    That would be great except for the fact that it only works when you have set the DNS servers yourself. Which I haven't, if I had I wouldn't have to post this thread. My ISP sends the address to the computer during dial-up.



    Barto
  • Reply 3 of 7
    gargoylegargoyle Posts: 660member
    typing "ifconfig" in the console should display all you need to know.
  • Reply 4 of 7
    bartobarto Posts: 2,246member
    I tried that when I first couldn't find it. It doesn't display the DNS server. There may be an option in ifconfig, but I can't find it.



    Barto
  • Reply 5 of 7
    progmacprogmac Posts: 1,850member
    if you do an nslookup from the command prompt, it should tell you the first dns server it goes to.



    type "nslookup google.com" or some other web address.



    i *think* that should work.
  • Reply 6 of 7
    torifiletorifile Posts: 4,024member
    "more /etc/resolv.conf" in the terminal oughta do it.



    It should look like this: nameserver 192.168.0.1
  • Reply 7 of 7
    bartobarto Posts: 2,246member
    Thanks! Both suggestions worked. Finally, internet connection sharing



    Barto
Sign In or Register to comment.