 |
 |
determining DNS...
|
 |
|
 |
|
Grizzled Veteran
Join Date: Jan 2003
Location: The midwest...
Status:
Offline
|
|
I have looked around everywhere, and I'm sure there is a simple answer, I just can't seem to find it. How do I determine what my current DNS information is in os x? I know ifconfig -a shows all my IP info, I just don't see the DNS info anywhere...
It seems like a dumb question, but if anyone can help, it would be greatly appreciated...

|
|
Joe
|
| |
|
|
|
 |
|
 |
|
Professional Poster
Join Date: Oct 1999
Location: Always within bluetooth range
Status:
Offline
|
|
How about Applications->Utilities->Network Utility ? Go to the 'Lookup' pane and put in your IP. Is this the info you want ??
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Apr 2000
Location: Los Angeles, CA
Status:
Offline
|
|
The GUI way:
1. Open System Preferences
2. Click Network
3. Double click the active configuration device (e.g. Ethernet)
4. It's in the same tab as the IP address and all that (Note: does not work with DHCP-assigned information)
The Command Line Way:
1. cat /etc/resolv.conf
And they say the command line is clunky 
|
|
|
| |
|
|
|
 |
|
 |
|
Admin Emeritus 
Join Date: Oct 1999
Location: Zurich, Switzerland
Status:
Offline
|
|
I don't know of any place to find the whole list of DNS servers that you've been assigned via DHCP, but I can tell you how to find the server that's being used at the moment: do a lookup using "dig".
In the Terminal, type
dig apple.com
(or whatever domain you want)
The last bit of the output will look something like this:
;; Query time: 202 msec
;; SERVER: 192.168.2.1#53(192.168.2.1)
;; WHEN: Fri Oct 29 13:03:56 2004
;; MSG SIZE rcvd: 188
The "SERVER" line is the DNS server address (in my case, it's my blue G3 acting as a router).
tooki
|
|
|
| |
|
|
|
 |
|
 |
|
Professional Poster
Join Date: Oct 1999
Location: Always within bluetooth range
Status:
Offline
|
|
Originally posted by tooki:
I
In the Terminal, type
dig apple.com
(or whatever domain you want)
I just tried that. It gave the exact same info (actually a little less) than using Network Utility as I'd described above. Network Utility also gives a little checkbox labelled "Use 'dig' instead of 'nslookup' "
(Last edited by Krusty; Oct 30, 2004 at 10:07 AM.
)
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |