Sponsored Content
Top Forums UNIX for Beginners Questions & Answers Bind: Can you configure multiple domains using the same nameserver Post 303039324 by LinuxGirl on Monday 30th of September 2019 09:20:03 PM
Old 09-30-2019
Bind: Can you configure multiple domains using the same nameserver

Can you add multiple domains to a nameserver without creating a new IP address? I have one IP address on my machine and have configured forward and reverse zone files. Names are resolving fine.

I know I can add another domain to the named.conf file and create new forward and reverse files. what name server IP would i add to the forward file for the second domain and how is it configured in the forward file? Also I have named my reverse file with the reverse of the first 3 octets of my system IP address. I need to change that and what should i use for the reverse zone names?

Code:
named.conf:

zone "myserver.com" {
        type master;
        file "fwd.myserver.com.db";
        allow-update { none; };
};

zone "xx.xx.xxx.in-addr.arpa" {
        type master;
        file "xx.xx.xxx.db";
        allow-update { none; };
};

zone "newdomain.com" {
        type master;
        file "fwd.newdomain.com.db";
        allow-update { none; };
};


/var/named:

cat fwd.myserver.com.db

$TTL 86400
@       IN      SOA     nameserver.myserver.com.     root.myserver.com.      (
                                10030   ;Serial
                                3600    ;Refresh
                                1800    ;Retry
                                604800  ;Expiry
                                86400   ;Minimum TTL
)
; Name Server
@       IN      NS      nameserver.myserver.com.
;A Record Definitions
nameserver	IN	A	xxx.xx.xx.xx
server1        IN      A	xxx.xx.xx.xx
server2      IN	A	xxx.xx.xx.xx


How do I configure the forward zone record for the newdomain? i have used the one system IP address for the name server in the myserver.com domain.
 

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
ldns-walk(1)						      General Commands Manual						      ldns-walk(1)

NAME
ldns-walk - Retrieve the contents of a DNSSEC signed zone SYNOPSIS
ldns-walk [ OPTION ] ZONE DESCRIPTION
ldns-walk is used to retrieve the contents of a DNSSEC signed zone. It does this through NSEC-walking (following the chain of NSEC records) and 'guessing' the next non-existent owner name for each NSEC. Note that it might get stuck on some wildcard records when used through a caching forwarder. This problem can be circumvented by querying the authoritative nameserver directly (with the @ argument). Of course the nameserver that is used must be DNSSEC-aware. OPTIONS
-4 Use only IPv4. -6 Use only IPv6. -f Do a 'full' zone walk; by default, ldns-walk will only show the names, and types present at those names. If this option is given, all resource records will be printed. -s name Start the walk with this owner name. Useful when continuing the walk for a large zone. -v verbosity Verbosity level [1-5]. @ nameserver Send the queries to this nameserver. BUGS
The full zone walk function is not complete yet, it does not correctly print delegation records AUTHOR
Written by Jelte Jansen as an example for ldns usage. REPORTING BUGS
Report bugs to <ldns-team@nlnetlabs.nl>. COPYRIGHT
Copyright (C) 2005 NLnet Labs. This is free software. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PUR- POSE. 21 Nov 2005 ldns-walk(1)
All times are GMT -4. The time now is 11:39 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy