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
PDNS_CONTROL(8) 					      System Manager's Manual						   PDNS_CONTROL(8)

NAME
pdns_control - Control the pDNS nameserver SYNOPSIS
pdns_control [options] command DESCRIPTION
pdns_control is used to send commands to a running pDNS nameserver. OPTIONS
A summary of options is included below. --help Show summary of options. --chroot=... Where PowerDNS is chrooted --config-dir=... Location of configuration directory (pdns.conf) --config-name=... Name of this virtual configuration - will rename the binary image --remote-address=... Remote address to query --remote-port=... Remote port to query --secret=... Secret needed to connect to remote PowerDNS --socket-dir=... Where the controlsocket will live COMMANDS
ccounts Show the content of the cache notify <domain> Adds a domain to the notification list, causing PDNS to send out notifications to the nameservers of a domain. Can be used if a slave missed previous notifications or is generally hard of hearing. notify-host <domain> <host> Same as above but with operator specified IP address as destination, to be used if you know better than PowerDNS. cycle Restart the nameserver so it reloads its configuration. ping Check if the server is alive. purge [<record>] Purge entries from the packet cache. If the record name ends with a dollar ($) all entries that end with that name are removed. If no record is specified the entire cache is purged. rediscover Instructs backends that new domains may have appeared in the database, or, in the case of the Bind backend, in named.conf. retrieve <domain> Retrieve a slave domain from its master. Done nearly immediatly. set <variable> <value> Set the configuration parameter <variable> to <value>. Currently only the query-logging can be set. show <variable> Show a single statistic, as present in the output of the list command. quit Tell a running pdns_server to quit. status Show usage statistics. uptime Show the uptime of the running server. version Print the version of the running pdns daemon. FILES
<socket> Control socket used to communicate with pdns_server. SEE ALSO
pdns_server(8) PowerDNS December 2002 PDNS_CONTROL(8)
All times are GMT -4. The time now is 01:09 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy