|
|||||||
| Forums | Search Forums | Register | Forum Rules | Man Pages | Albums | FAQ | Members | Calendar | Search | Today's Posts | Mark Forums Read |
| HP-UX HP-UX (Hewlett Packard UniX) is Hewlett-Packard's proprietary implementation of the Unix operating system, based on System V. |
|
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
[SOLVED] Which nameserver is used?
Hello, i change the nameserver in the resolv.conf file and want to test the new settings. On Linux i can call nslookup and it shows the nameserver which is used: Code:
># nslookup www.unix.com Server: XXX.XXX.XXX.XXX Address: XXX.XXX.XXX.XXX#53 Non-authoritative answer: Name: www.unix.com Address: 4.59.125.171 If i use the same command on HPUX it only shows me this information: Code:
># nslookup www.unix.com Using /etc/hosts on: HOST looking up FILES Trying DNS Non-authoritative answer: Name: www.unix.com Address: 4.59.125.171 Is there a chance to see the used nameserver in HPUX to? Best Regards soeren Last edited by soeren1176; 02-25-2013 at 04:46 AM.. |
| Sponsored Links | ||
|
|
#2
|
||||
|
||||
|
Look in
/etc/resolv.conf file...
|
| Sponsored Links | ||
|
|
#3
|
|||
|
|||
|
Thanks for the fast response. The "dig" command shows the used namserver to: Code:
dig www.unix.com ; <<>> DiG 9.3.2 <<>> www.unix.com ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 590 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;www.unix.com. IN A ;; ANSWER SECTION: www.unix.com. 77996 IN A 4.59.125.171 ;; Query time: 2 msec ;; SERVER: XXX.XXX.XXX.XXX#53(XXX.XXX.XXX.XXX) ;; WHEN: Mon Feb 25 10:39:52 2013 ;; MSG SIZE rcvd: 46 |
| The Following User Says Thank You to soeren1176 For This Useful Post: | ||
vbe (02-25-2013) | ||
|
#4
|
||||
|
||||
|
Was not standard in HP-UX ( have an old dig 2.o I installed years ago...) at the time and I have on 11.31 ... Thanks for the update!
|
| Sponsored Links | ||
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| NameServer not accessible | rizwan65 | UNIX for Dummies Questions & Answers | 3 | 03-15-2011 01:09 PM |
| two dns search with 4 nameserver | itik | Red Hat | 1 | 07-13-2009 06:20 PM |
| need advice on nameserver configuration | wanex | UNIX for Advanced & Expert Users | 0 | 04-01-2006 08:53 AM |
|
|