- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- DNS Domains - How to get two domains to share data
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
Forums
Discussions
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
03-05-2002 02:08 PM
03-05-2002 02:08 PM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2002 02:21 PM
03-05-2002 02:21 PM
Re: DNS Domains - How to get two domains to share data
# man 4 resolver
for more details
From the man pages ..
"Search list for host-name lookup. If the search option is not used the search list will contain only the the local domain name. The search list can be changed by listing the desired domain search path following the search keyword with spaces or tabs separating the names. Most ..."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2002 02:29 PM
03-05-2002 02:29 PM
Re: DNS Domains - How to get two domains to share data
See the man page for "named", you should see and example like this:
forwarders 10.0.0.78 10.2.0.78
substitute the ip addresses as appropriate.
HTH
mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2002 02:35 PM
03-05-2002 02:35 PM
Re: DNS Domains - How to get two domains to share data
forwarders {
198.6.100.25; }; i.e ip of another server.
Another way
you can set server A.A.com as a secondary server for B.com domain and vice versa.
On server A
zone "B.com" {
type slave;
file "sec.hosts.B.com";
masters {
Ip_of B;};
};
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2002 02:51 PM
03-05-2002 02:51 PM
Re: DNS Domains - How to get two domains to share data
For example, let's assume HPUX and BIND4, Aip is the ip address of the primary name server for A.com, and Bip is the ip address for the primary dns server for B.com.
On host A
add these two slave zones for B.com in /etc/named.boot:
secondary B.com
secondary 171.10.in-addr.arpa
and /etc/resolv.conf should look like this:
domain A.com
search A.com B.com
nameserver Aip
nameserver Bip
On host B
add these two slave zones for A.com in /etc/named.boot:
secondary A.com
secondary 15.10.in-addr.arpa
and /etc/resolv.conf should look like this:
domain B.com
search B.com A.com
nameserver Bip
nameserver Aip
Now each side has full copies of each domain.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2002 05:36 PM
03-06-2002 05:36 PM
Re: DNS Domains - How to get two domains to share data
Some issues I have discovered after testing the suggestions made:
If I implement the forwarders suggestion: add dns.B.com to the forwarders line in /etc/named.boot file on dns.A.com, then all external dns requests from users on A.com also get forwarded to dns.B.com and then out B.com's internet provider. Management does not like that idea.
If I implement the search option in the /etc/resolv.conf on dns.a.com,
example 1
domain a.com
search a.com b.com
nameserver dns.a.com
nameserver dns.b.com
The nameserver dns.b.com never gets a chance to resolve XX.B.com requests because dns.A.com doesn't time out on a XX.B.com request, it returns a "not found".
If I implement another way:
example 2
domain a.com
search a.com b.com
nameserver dns.b.com
nameserver dns.a.com
I experience the same issue as the forwarders option. IE every external request from dns.a.com goes to dns.b.com and out b.com's internet provider.
Third suggestion: Setting up each dns server as a secondary to the other is an option, yet the lack of anyone with DNS knowledge at B.com and the fact that B.com is running DNS on a platform which nobody at A.com can support, causes this to be the very last option.
Ideally I would like to resolve all XX.A.com requests from A.com users at dns.A.com and only send YY.b.com requests to dns.B.com and vis-a-versa.
I also want to have external requests from each companies users go to the internet via their companies own external DNS servers.
Any suggestions?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2002 01:33 PM
03-07-2002 01:33 PM
SolutionFor BIND4:
On dns.A.com, add this to /etc/named.boot:
stub B.com
On dns.B.com, add this to /etc/named.boot:
stub A.com
For BIND8:
On dns.A.com, add this to /etc/named.conf:
zone "B.com" { type stub; masters {
On dns.B.com, add this to /etc/named.conf:
zone "A.com" { type stub; masters {
I'm not sure what else you can do.