Sponsored Content
Top Forums UNIX for Beginners Questions & Answers Bind: Can you configure multiple domains using the same nameserver Post 303039479 by rbatte1 on Monday 7th of October 2019 10:53:31 AM
Old 10-07-2019
It is usually (but not always) better to keep to a single A record for an IP address with a matching PTR record so the IP address can be used to find out the host. Other things, such as service names or alternate domain entries can be added as CNAME or alias records. If you have a service that other things connect to and use that has a logical name, then it is usual to define that as an alias. When you come to replace your servers, if the applications all use a CNAME/alias then you can edit the DNS to move the alias to point to the new server when you are happy that it is ready.


Additionally, if you have a cluster of servers, you might consider more things. For an Active/Passive cluster, you would have an A record for each server, but make every connection to the application(s) to use a separate IP address that you move to the active server, a virtual IP if you like. Consider:-
  • ServerA: 10.10.10.1 with PTR of 10.10.10.1 to ServerA
  • ServerB: 10.10.10.2 with PTR of 10.10.10.2 to ServerB
  • ServerC: 10.10.10.3 with PTR of 10.10.10.3 to ServerC
  • Myapp: 10.10.10.101 with no PTR record

Make the 'active' server also offer the Myapp IP address and make connections point to service name Myapp

For an Active/Active cluster, you need some sort of load-balancer, but that's a whole extra topic.


What do you actually want to do with the applications offered by the server and how would you consider transferring them to a replacement later?


Robin
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

multiple domains

Hello, I have 3 domains virtually hosted "name based" the first one "domain1.com" has its ServerName entered as domain1.com. this domain will load in a browser by www.domain1.com or simply domain1.com. the next two domains "domain2.com" and "domain3.com" ServerNames are listed as domain2.com and... (2 Replies)
Discussion started by: ericg
2 Replies

2. UNIX for Dummies Questions & Answers

Multiple Domains with BIND

I need help creating multiple domains with one single DNS server.ex: domain1.com and domain2.com on a sigle machine 1.2.3.4 Thx (1 Reply)
Discussion started by: lekan
1 Replies

3. Solaris

Kerberos setup for multiple AD domains

Hi there: I am currently using Kerberos on Solaris 9 to autenticate using windows active directory. It is working fine, however, we just were made aware that instead of one domain, we have multiple. We configured one real with only one domain, however, I need the autentication process to also... (3 Replies)
Discussion started by: ramosl05
3 Replies

4. Solaris

How to Configure DNS bind 9 with Ldap back-end

My environmnet : solaris 10 u 7 sparc To configure DNS bind use Ldap as zone record database, I use bind 9.7.0 and sun directory 5.2 I do follow http://imil.net/docs/Configuring_DNS_zones_with_LDAP.txt and stuck at make install Error from bind log "database: error: unsupported database... (0 Replies)
Discussion started by: tien86
0 Replies

5. UNIX for Advanced & Expert Users

Samba in multiple domains problem

Hello all. I'm hoping you can help with a problem I'm having with Samba. I have Samba running on a Solaris host. All of my users authenticate against the same domain, but some of my users are using PCs on a different domain. When the users whose PCs are on a different domain try to connect to... (0 Replies)
Discussion started by: trouphaz
0 Replies

6. UNIX for Dummies Questions & Answers

Samba with clients in multiple domains

Dear all, I've not a good starting point I'm afraid, but I was forced to deploy Samba under pressure of failing hardware so an urgent migration was done. We didn't get the IBM AIX 6.1 supplied one running at all, so we pulled down the samba.org version 3.4.3. We couldn't get that working as... (0 Replies)
Discussion started by: rbatte1
0 Replies

7. Red Hat

Sendmail - Masquerading multiple domains with different addresses

Hello Friends, I am running Sendmail 8.14 on rhel6. I have one simple question regarding domain masquerading, i would want to masquerade different domains with different addresses. By that what i mean is that lets say i have 3 domains as home.com, example.com, test.com and i would want to... (0 Replies)
Discussion started by: Rohit Bhanot
0 Replies

8. UNIX for Dummies Questions & Answers

Configure BIND

I know how to manage DNS once it's installed. I can edit named.conf and create zone files. I can sign the zones, use TSIG, etc. How do I take the BIND 9.9 tar ball from All Downloads | Internet Systems Consortium and install it and get it to work? Maybe I am not getting it. Can... (0 Replies)
Discussion started by: brianjb
0 Replies

9. UNIX for Dummies Questions & Answers

Trying to configure DNS using BIND package in Oracle Linux 6.6

Version: Oracle Linux 6.6 I am trying to set up DNS for forward and reverse lookups. I am new to BIND package. I have installed the following packages. bind (includes DNS server, named) bind-utils (utilities for querying DNS servers about host information) bind-libs (libraries... (0 Replies)
Discussion started by: kraljic
0 Replies
Mail::SPF::Mech::PTR(3) 				User Contributed Perl Documentation				   Mail::SPF::Mech::PTR(3)

NAME
Mail::SPF::Mech::PTR - SPF record "ptr" mechanism class DESCRIPTION
An object of class Mail::SPF::Mech::PTR represents an SPF record mechanism of type "ptr". Constructors The following constructors are provided: new(%options): returns Mail::SPF::Mech::PTR Creates a new SPF record "ptr" mechanism object. %options is a list of key/value pairs representing any of the following options: qualifier domain_spec See "new" in Mail::SPF::Mech. new_from_string($text, %options): returns Mail::SPF::Mech::PTR; throws Mail::SPF::ENothingToParse, Mail::SPF::EInvalidMech Creates a new SPF record "ptr" mechanism object by parsing the string and any options given. Class methods The following class methods are provided: default_qualifier qualifier_pattern See "Class methods" in Mail::SPF::Mech. name: returns string Returns 'ptr'. name_pattern: returns Regexp Returns a regular expression that matches a mechanism name of 'ptr'. Instance methods The following instance methods are provided: text qualifier params stringify See "Instance methods" in Mail::SPF::Mech. domain_spec: returns Mail::SPF::MacroString Returns the "domain-spec" parameter of the mechanism. match($server, $request): returns boolean Checks whether the mechanism's target domain name, or a sub-domain thereof, is a "valid" domain name for the given request's IP address (see "ip_address" in Mail::SPF::Request), and returns true if it does, or false otherwise. See "valid_domain_for_ip_address" in Mail::SPF::Util for how domains are validated. See RFC 4408, 5.5, for the description of an equivalent algorithm. SEE ALSO
Mail::SPF, Mail::SPF::Record, Mail::SPF::Term, Mail::SPF::Mech <http://tools.ietf.org/html/rfc4408> For availability, support, and license information, see the README file included with Mail::SPF. AUTHORS
Julian Mehnle <julian@mehnle.net>, Shevek <cpan@anarres.org> perl v5.16.2 2013-08-25 Mail::SPF::Mech::PTR(3)
All times are GMT -4. The time now is 04:13 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy