- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- 2 Domains for 1 host?
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
03-23-2000 06:58 PM
03-23-2000 06:58 PM
2 Domains for 1 host?
networks - and the IP addresses relate to differnet domains.
A lot of configuration code (eg sendmail) assumes a single domain on the
machine. Is it possible to differentiate the domain associated with an
interface card?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2000 06:44 AM
03-24-2000 06:44 AM
Re: 2 Domains for 1 host?
Berlene
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2000 05:23 PM
03-26-2000 05:23 PM
Re: 2 Domains for 1 host?
cards. The resolver routines typically expect the machine to be under 1
domain.
I can setup sendmail to assume a particular domain, but I would like to be
able to point the resolver at the DNS for one domain, and also to check the
/etc/hosts file for the other. Is this best done by setting up a local DNS
(caching?) with the /etc/hosts values in it, and pointing to this in
/etc/resolv.conf?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2000 11:45 PM
03-26-2000 11:45 PM
Re: 2 Domains for 1 host?
If I understood right, you want your system mainly be part of domain
first.domain, but let sendmail use second.domain. If this is the case, you'll
have to edit the sendmail.cf.
Search for the token Dj (case sensitive). It will propably be commented out as
#Dj$w.Foo.COM
The $w is replaced with your hostname. So if you remove the hash to activate
this line, the outgoing mail would be from `hostname`.Foo.COM and if you Change
then Foo.COM into second.domain it would appear to be from
`hostname`.second.domain.
Finally, if you also want the hostname to be different, then replace $w with
the name you want your system to be.
Best Regards,
Frank Timmers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2000 10:35 PM
03-28-2000 10:35 PM
Re: 2 Domains for 1 host?
/etc/nsswitch.conf:
hosts: files [NOTFOUND=continue UNAVAIL=continue TRYAGAIN=continue] dns
This will make hostname resolving look in /etc/hosts first, and if nothing is
found there, it looks into DNS. This is regardless of which
domain/interfacecard the request is coming from.