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
RESOLV.CONF(5)							File Formats Manual						    RESOLV.CONF(5)

NAME
resolv.conf - Domain Name System resolver configuration SYNOPSIS
/etc/resolv.conf DESCRIPTION
The /etc/resolv.conf is used to configure how the host will use the Domain Name System to resolve hostnames to IP addresses. It may con- tain these two lines: nameserver IP-address domain domain-name The nameserver entry tells the IP address of the host to use for DNS queries. If it is set to 127.0.0.1 (which is the default) then the local name daemon is used that may use the /etc/hosts database to translate host names. You normally only need a nameserver entry if the name server is at the other side of a router. The default nonamed name server can't look beyond the local network. The domain entry tells the default domain to use for unqualified hostnames. This entry is usually not given in which case the domain of the local host is used. The long version of this story can be found in resolver(5). FILES
/etc/resolv.conf DNS resolver configuration file. SEE ALSO
resolver(5), hosts(5), nonamed(8), boot(8). AUTHOR
Kees J. Bot (kjb@cs.vu.nl) RESOLV.CONF(5)
All times are GMT -4. The time now is 04:23 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy