- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Configure DNS IP Address on HP-UX Server
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-31-2010 09:29 PM
тАО10-31-2010 09:29 PM
I want to access internet from this server. for that i need to configure DNS IP address on this server.
We dont have any DNS server.
Normally we use internet in windows PC by configuring DNS IP address given by sify(ISP) on preffered and alternate dns column on tcp/ip protocol.
I have a DNS IP address provide by sify.
I want to configure it on unix server to access the internet.
Pls help me in this regard.
Thanks in advance.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-31-2010 11:54 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-01-2010 12:45 AM
тАО11-01-2010 12:45 AM
Re: Configure DNS IP Address on HP-UX Server
but i'm not able to even ping the address.
and i also want to know how to configure the proxy server address on unix box.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-01-2010 01:00 AM
тАО11-01-2010 01:00 AM
Re: Configure DNS IP Address on HP-UX Server
>> Not able to ping
Not sure , may be ICMP packets are disabled.
Check it using traceroute
#traceroute DNS IP
Check You can access the default DNS port of your DNS server from you HPUX system
#telnet DNSIP 53
Aneesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-01-2010 01:14 AM
тАО11-01-2010 01:14 AM
Re: Configure DNS IP Address on HP-UX Server
# traceroute 208.67.222.222
traceroute to 208.67.222.222 (208.67.222.222), 30 hops max, 40 byte packets
1 * * *
2 * * *
3 * * *
4 * * *
5 * * *
6 * * *
7 * * *
8 * * *
9 * * *
10 * * *
11 * *
# telnet 208.67.222.222 53
Trying...
telnet: Unable to connect to remote host: Connection refused
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-01-2010 02:16 AM
тАО11-01-2010 02:16 AM
Re: Configure DNS IP Address on HP-UX Server
check if you have defined the /etc/nsswitch.conf
and if you have default route defined, on your servers.
netstat -nr
mikap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-01-2010 02:25 AM
тАО11-01-2010 02:25 AM
Re: Configure DNS IP Address on HP-UX Server
Thanks for response
Pls check the below results
# cat /etc/nsswitch.conf
cat: Cannot open /etc/nsswitch.conf: No such file or directory
# netstat -nr
Routing tables
Destination Gateway Flags Refs Interface Pmtu
127.0.0.1 127.0.0.1 UH 0 lo0 32808
100.100.100.2 100.100.100.2 UH 0 lan1 32808
172.23.9.12 172.23.9.12 UH 0 lan0:1 32808
172.23.9.2 172.23.9.2 UH 0 lan0 32808
172.23.9.0 172.23.9.2 U 3 lan0 1500
172.23.9.0 172.23.9.12 U 3 lan0:1 1500
100.100.100.0 100.100.100.2 U 2 lan1 1500
127.0.0.0 127.0.0.1 U 0 lo0 32808
default 172.23.9.10 UG 0 lan0 1500
#
After configure the dns address on resolv.conf, my telnet session opens very slowly. it takes around 2 mins to open the session. if i delete the entry it opens at the second.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-01-2010 02:41 AM
тАО11-01-2010 02:41 AM
Re: Configure DNS IP Address on HP-UX Server
thats normal, because your server try to resolve your, remote computer.
add the client from that you are telneting to the /etc/hosts ( for testing )
IP_client name alias1 alias2 FDQN
for example.
mikap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-01-2010 02:43 AM
тАО11-01-2010 02:43 AM
Re: Configure DNS IP Address on HP-UX Server
I'm not getting you.
What to add in etc/hosts file.
Suriya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-01-2010 03:10 AM
тАО11-01-2010 03:10 AM
Re: Configure DNS IP Address on HP-UX Server
You dont have network access to your DNS server 208.67.222.222.
Check with you Network Administrator.
You can remove nameserver entries in /etc/resolv.conf now or /etc/resolv.conf file itself, since you cannot use your nameserver
Aneesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-01-2010 03:43 PM
тАО11-01-2010 03:43 PM
Re: Configure DNS IP Address on HP-UX Server
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-01-2010 10:18 PM
тАО11-01-2010 10:18 PM
Re: Configure DNS IP Address on HP-UX Server
I have edited the /etc/resolv.conf and /etc/nsswitch.conf file.
Pls check the below edited files.
# cat /etc/resolv.conf
domain easyserver.easyaccess.com
nameserver 208.67.222.222
nameserver 208.67.220.220
#
passwd: files
group: files
hosts: files
ipnodes: files
services: files
networks: files
protocols: files
rpc: files
publickey: files
netgroup: files
automount: files
aliases: files
#
I don't know wheather its correct or not.
I'm new to unix.
Pls guide me to correct my mistakes.
Thanks,
Suriya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-01-2010 10:22 PM
тАО11-01-2010 10:22 PM
Re: Configure DNS IP Address on HP-UX Server
#
passwd: files
group: files
hosts: files dns
ipnodes: files
services: files
networks: files
protocols: files
rpc: files
publickey: files
netgroup: files
automount: files
aliases: files
#
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-02-2010 10:44 AM
тАО11-02-2010 10:44 AM
Re: Configure DNS IP Address on HP-UX Server
Hi Prakash,
The above files are correct, but it seems that first you need to troubleshoot internet connectivity. Maybe you're behind a firewall and only access to the local network is allowed.
try this:
# ping 172.23.9.10
Regards,
Viktor
Unix operates with beer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-02-2010 07:40 PM
тАО11-02-2010 07:40 PM
Re: Configure DNS IP Address on HP-UX Server
> # traceroute 208.67.222.222
> traceroute to 208.67.222.222 (208.67.222.222), 30 hops max, 40 byte packets
> 1 * * *
> [...]
Many possible reasons for that.
> # telnet 208.67.222.222 53
> Trying...
> telnet: Unable to connect to remote host: Connection refused
"Connection refused" normally means that
there is no server listening (or registered)
at that port. Some clever firewalls may be
able to simulate this, however.
I can get to 208.67.222.222 from my system:
ALP $ nslookup www.hp.com 208.67.222.222
Server: resolver1.opendns.com
Address: 208.67.222.222
Non-authoritative answer:
Name: www.hpgtm.nsatc.net
Addresses: 15.217.120.22, 15.193.112.22
Aliases: www.hp.com
So, if you can't do that well, then I'd agree
with this:
> [...] it seems that first you need to
> troubleshoot internet connectivity.
Can you get to anything in the outside world
in any way? ("telnet 15.217.120.22 80", or
anything?)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-04-2010 12:40 AM
тАО11-04-2010 12:40 AM
Re: Configure DNS IP Address on HP-UX Server
Thanks for your response.
The problem was sorted out.
The issue is with the firewall settings.
But i didn,t configure the /etc/resolv.conf and /etc/nsswitch.conf.
Without configuring this i'm able to access the internet.
Can anyone pls explain me about the above files.
Whats the purpose of configuring these files.
Thanks,
Suriya.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-04-2010 03:08 AM
тАО11-04-2010 03:08 AM
Re: Configure DNS IP Address on HP-UX Server
> files.
Is "man" broken on your system?
man resolv.conf
man nsswitch.conf
> What[']s the purpose of configuring these
> files.
To get behavior other than the default
behavior?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-04-2010 10:45 AM
тАО11-04-2010 10:45 AM
Re: Configure DNS IP Address on HP-UX Server
/etc/nsswitch.conf
Basically in this file you can set up which methods to use for name service resolution. Name services are e.g. user-databases (like /etc/passwd) or the database for storing host ip and name mappings like /etc/hosts or DNS.
/etc/resolv.conf
Among other things this file tells the system which name server to use for name resolution, if the use of name server is configured in nsswitch.conf
This was just a quick introduction to these files and its purposes, for more info read the man pages.
Unix operates with beer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-07-2010 09:14 PM
тАО11-07-2010 09:14 PM
Re: Configure DNS IP Address on HP-UX Server
Thank u all for ur replies and solution.
Regards,
Suriya.