- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to pass the resolve request to other DNS s...
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
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
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
12-17-2004 04:25 PM
12-17-2004 04:25 PM
How to pass the resolve request to other DNS server if local DNS cannot find
In UNIX v11.00, I had setup a DNS server at home. All the PCs at home is just set to a single home DNS server. In the Home DNS sever, how to pass the resolve request to other DNS server if the host (e.g. www.yahoo.com) whose home DNS server cannot find . So, the PCs need not to config 2 DNS server. One is home server, other is ISP DNS. The term is called "Resolve lookup' ???
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2004 05:39 PM
12-17-2004 05:39 PM
Re: How to pass the resolve request to other DNS server if local DNS cannot find
forwarders { 192.168.1.20; };
In your named.conf where the IP address given is that of your ISP.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2004 08:56 PM
12-18-2004 08:56 PM
Re: How to pass the resolve request to other DNS server if local DNS cannot find
# vi /etc/resolv.conf
add the line "nameserver xxx.xxx.xxx.xxx"
Stf ;-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2004 10:53 PM
12-18-2004 10:53 PM
Re: How to pass the resolve request to other DNS server if local DNS cannot find
the "forwarders" statement in /etc/named.conf is the correct answer.
Hopefully you are running bind 9.2.* ??
live free or die
harry d brown jr
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2004 07:25 PM
12-19-2004 07:25 PM
Re: How to pass the resolve request to other DNS server if local DNS cannot find
http://www.docs.hp.com/en/B2355-90685/ch03.html
this docs discuss detail about DNS (Configuring and Administering the BIND Name Service )
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2004 12:22 AM
12-20-2004 12:22 AM
Re: How to pass the resolve request to other DNS server if local DNS cannot find
nameserver 12.34.56.78
Be sure to verify thaty this nameserver is reachable by using nslookup and explicitly using the DNS server, as in:
nslookup hp.com 12.34.56.78
where 12.34.56.78 is the ISP's nameserver. You should get an immediate response. If not, you'll need to figure out why that nameserver is not available to you.
Now edit nsswitch.conf and change the hosts line to read:
hosts: files[NOTFOUND=continue UNVAIL=continue] dns [NOTFOUND=return UNAVAIL=continue TRYAGAIN=return]
(this is all one line).
Now verify that you can resolve your own name as in: nslookup $(hostname)
and then try nslookup hp.com
nslookup will follow the steps shown in nsswitch.conf starting with FILES, then the DNS servers listed in resolv.conf. Note that resolv.conf can have 1, 2 or 3 DNS servers listed but if a DNS server is unreachable, it may be 20-30 seconds before the next DNS server is tried.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2004 12:34 AM
12-20-2004 12:34 AM
Re: How to pass the resolve request to other DNS server if local DNS cannot find
Server can resolve outside internet hosts. However on client side, if they are just config to have one home DNS server , they cannot see the outside internet hosts.
Problem still after I use forwarders. The home DNS server is using BIND 9.2. Syntax is wrong ? Please help
# cat /etc/named.conf
#
# type domain source file
#
options {
directory "/etc/named.data";
};
zone "0.0.127.IN-ADDR.ARPA" {
type master;
file "db.127.0.0";
};
zone "mydomain.com" {
type master;
file "db.mydomain";
};
zone "1.168.192.IN-ADDR.ARPA" {
type master;
file "db.192.168.1";
};
zone "." {
type hint;
file "db.cache";
};
forwarders {202.67.143.222;};
#cat /var/adm/syslog/syslog.log
Dec 20 21:13:39 server syslogd: restart
Dec 20 21:22:20 server named[364]: loading configuration from '/etc/named.conf'
Dec 20 21:22:20 server named[364]: /etc/named.conf:28: unknown option 'forwarders'
Dec 20 21:22:20 server named[364]: reloading configuration failed: failure
#
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2005 07:15 AM
03-17-2005 07:15 AM
Re: How to pass the resolve request to other DNS server if local DNS cannot find
You must put the "forwarders" line inside the options section (top of the file) before the bracket. You can put it under the // query-source address * port 53; line.
Regards.