subdomain problem...

Michael Varre bind9 at kishmish.com
Thu Sep 9 17:59:22 UTC 2004


 
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

 

> -----Original Message-----
> From: bind-users-bounce at isc.org 
> [mailto:bind-users-bounce at isc.org] On Behalf Of Michelle Konzack
> Sent: Thursday, September 09, 2004 1:34 PM
> To: bind-users at isc.org
> Subject: Re: subdomain problem...
> 
> Content-Type: text/plain; charset=us-ascii
> Content-Disposition: inline
> Content-Transfer-Encoding: quoted-printable
> **************************************************************
> ***********
> * Do not Cc: me, because I am on THIS list, if I write here   
>           *
> * Keine Cc: am mich senden, bin auf DIESER Liste wenn ich 
> hier schreibe *
> **************************************************************
> ***********
> 
> 
> Hello Michael,=20
> 
> Am 2004-09-09 11:06:28, schrieb Michael Varre:
> 
> > I guess the obvious question is have you actually setup 
> BIND on your 
> > server? And if it is "set up" have you gotten it to work at 
> all?  The 
> > admin ref manual should tell you everything you need to know. =20
> 
> Bind9 run since more then one year but without SUBDOMAINS.
> 
> > That's pretty basic setup.  But of course you need to make sure
> > your bind9 is actually running properly before you start adding
> > domains. 
> 
> I think, bette is I attach my files.=20
> 

Ok, looking below at your current config I think I understand your
question a bit better now.  You want to create a sub such that it is
something.somethingelse.yourdomain.com.

The simplest way, unless you have a reason to do it otherwise is to
add:  
router                  IN      A       192.168.1.1
Router.soemthing		IN      A       192.168.1.2
Router.something.else   IN      A       192.168.1.3

I've used this method for simple naming purposes, not as a delegation
method. From looking at your files below it looks like this method
will suffice just fine.

Hope this helps

mv


> 
> Greetings
> Michelle
> 
> --=20
> Linux-User #280138 with the Linux Counter,
> http://counter.li.org/=20 Michelle Konzack   Apt. 917              
>    ICQ #328449886
>                    50, rue de Soultz         MSM LinuxMichi
> 0033/3/88452356    67100 Strasbourg/France   IRC #Debian
> (irc.icq.com)  
> 
> 
> -- Attached file included as plaintext by Ecartis --
> 
> 
> // Root server hints
> zone "." { type hint; file "root.hint"; };
> 
> // Provide a reverse mapping for the loopback address 
> 127.0.0.1 zone "0.0.127.in-addr.arpa" {
>      type master;
>      file "localhost.rev";
>      notify no;
> };
> 
> // We are the master server for tamay-dogan.net zone 
> "tamay-dogan.net" {
>      type master;
>      file "tamay-dogan.net.db";
>      // IP addresses of slave servers allowed to transfer 
> tamay-dogan.net
>      allow-transfer {
>           192.168.1.3;
>      };
> };
> 
> // We are the master server for debian.tamay-dogan.net zone 
> "debian.tamay-dogan.net" {
>      type master;
>      file "debian.tamay-dogan.net.db";
>      // IP addresses of slave servers allowed to transfer 
> debian.tamay-dogan.net
>      allow-transfer { 
>           192.168.1.3; 
>      };
> };
> 
> // We are the master server for private.tamay-dogan.net zone 
> "private.tamay-dogan.net" {
>      type master;
>      file "private.tamay-dogan.net.db";
>      // IP addresses of slave servers allowed to transfer 
> private.tamay-dogan.net
>      allow-transfer { 
>           192.168.1.3; 
>      };
> };
> 
> // We are the master server for omega.tamay-dogan.net zone 
> "omega.tamay-dogan.net" {
>      type master;
>      file "omega.tamay-dogan.net.db";
>      // IP addresses of slave servers allowed to transfer 
> omega.tamay-dogan.net
>      allow-transfer {
>           192.168.1.3;
>      };
> };
> 
> // We are the master server for cybercenter.tamay-dogan.net 
> zone "cybercenter.tamay-dogan.net" {
>      type master;
>      file "cybercenter.tamay-dogan.net.db";
>      // IP addresses of slave servers allowed to transfer 
> cybercenter.tamay-dogan.net
>      allow-transfer { 
>           192.168.1.3; 
>      };
> };
> 
> // We are the master server for tsunami.tamay-dogan.net zone 
> "tsunami.tamay-dogan.net" {
>      type master;
>      file "tsunami.tamay-dogan.net.db";
>      // IP addresses of slave servers allowed to transfer 
> tsunami.tamay-dogan.net
>      allow-transfer {
>           192.168.1.3;
>      };
> };
> 
> // We are the master server for pool.tamay-dogan.net zone 
> "pool.tamay-dogan.net" {
>      type master;
>      file "pool.tamay-dogan.net.db";
>      // IP addresses of slave servers allowed to transfer 
> pool.tamay-dogan.net
>      allow-transfer {
>           192.168.1.3;
>      };
> };
> 
> -- Attached file included as plaintext by Ecartis --
> 
> $TTL    43200
> @                       IN      SOA     dns1.tamay-dogan.net.
> root.tamay-dogan.net.           (
>                                2004090101 ; serial
>                                1H         ; refresh
>                                15M        ; retry
>                                14D        ; expire
>                                12H        ; default_ttl
>                                )
> 
> tamay-dogan.net.        IN      MX 10   mail.tamay-dogan.net.
>                         IN      MX 20   backup.michelle-is.com.
> @                       IN      NS      dns1.tamay-dogan.net.
> 
> router                  IN      A       192.168.1.1
> dns1                    IN      A       192.168.1.2
> dns2                    IN      A       192.168.1.3
> admin                   IN      A       192.168.1.4
> doc                     IN      A       192.168.1.8
> ftp                     IN      A       192.168.1.9
> www                     IN      A       192.168.1.10
> home                    IN      CNAME   www
> erotic                  IN      CNAME   www
> helth                   IN      CNAME   www
> music                   IN      CNAME   www
> dos                     IN      CNAME   www
> wfw                     IN      CNAME   www
> win32                   IN      CNAME   www
> hardware                IN      CNAME   www
> onlinestore             IN      CNAME   www
> mail                    IN      A       192.168.1.11
> pop3                    IN      CNAME   mail
> smtp                    IN      CNAME   mail
> imap                    IN      CNAME   mail
> lists                   IN      A       192.168.1.12
> news                    IN      A       192.168.1.13
> acc576-A                IN      A       192.168.1.20
> acc576-1                IN      A       192.168.1.21
> acc576-2                IN      A       192.168.1.22
> acc576-3                IN      A       192.168.1.23
> acc576-4                IN      A       192.168.1.24
> acc336-A                IN      A       192.168.1.30
> acc336-1                IN      A       192.168.1.31
> acc336-2                IN      A       192.168.1.32
> acc336-3                IN      A       192.168.1.33
> acc336-4                IN      A       192.168.1.34
> acc336-5                IN      A       192.168.1.35
> acc336-6                IN      A       192.168.1.36
> acc336-7                IN      A       192.168.1.37
> acc336-8                IN      A       192.168.1.38
> 
> 
> -- Attached file included as plaintext by Ecartis --
> 
> $TTL    43200
> @                       IN      SOA     dns1.tamay-dogan.net.
> root.debian.tamay-dogan.net.    (
>                                 2004090101 ; serial
>                                 1H         ; refresh
>                                 15M        ; retry
>                                 14D        ; expire
>                                 12H        ; default_ttl
>                                 )
> 
> debian.tamay-dogan.net. IN      MX 10   mail.tamay-dogan.net.
>                         IN      MX 20   backup.michelle-is.com.
> 
> @                       IN      NS      dns1.tamay-dogan.net.
> www                     IN      A       192.168.1.14
> xmms                    IN      CNAME   www
> devel                   IN      CNAME   www
> buzz                    IN      CNAME   www
> rex                     IN      CNAME   www
> bo                      IN      CNAME   www
> hamm                    IN      CNAME   www
> slink                   IN      CNAME   www
> potato                  IN      CNAME   www
> sarge                   IN      CNAME   www
> etch                    IN      CNAME   www
> lists                   IN      CNAME   www
> 
> 
> -- Attached file included as plaintext by Ecartis --
> 
> $TTL    43200
> @                       IN      SOA     dns1.tamay-dogan.net.
> root.private.tamay-dogan.net.   (
>                                 2004090101 ; serial
>                                 1H         ; refresh
>                                 15M        ; retry
>                                 14D        ; expire
>                                 12H        ; default_ttl
>                                 )
> 
> private.tamay-dogan.net. IN     MX 10   mail.tamay-dogan.net.
>                         IN      MX 20   backup.michelle-is.com.
> 
> @                       IN      NS      dns1.tamay-dogan.net.
> router                  IN      A       192.168.1.65
> sql                     IN      A       192.168.1.66
> samba                   IN      A       192.168.1.67
> samba2                  IN      A       192.168.1.68
> samba3                  IN      A       192.168.1.69
> syslog                  IN      A       192.168.1.70
> michelle1               IN      A       192.168.1.71
> multimedia              IN      A       192.168.1.72
> t1950ct                 IN      A       192.168.1.73
> r40                     IN      A       192.168.1.74
> devel                   IN      A       192.168.1.75
> lpd                     IN      A       192.168.1.76
> access                  IN      A       192.168.1.90
> 576-1                   IN      A       192.168.1.91
> 576-2                   IN      A       192.168.1.92
> 336-1                   IN      A       192.168.1.93
> 336-2                   IN      A       192.168.1.94
> 
> 
> -- Attached file included as plaintext by Ecartis --
> 
> $TTL    43200
> @                       IN      SOA     dns1.tamay-dogan.net.
> root.cybercenter.tamay-dogan.net.  (
>                                 2004090101 ; serial
>                                 1H         ; refresh
>                                 15M        ; retry
>                                 14D        ; expire
>                                 12H        ; default_ttl
>                                 )
> 
> cybercenter.tamay-dogan.net. IN  MX 10  mail.tamay-dogan.net.
>                              IN  MX 20  backup.michelle-is.com.
> 
> @                       IN      NS      dns1.tamay-dogan.net.
> router                  IN      A       192.168.1.113
> www                     IN      A       192.168.1.114
> france                  IN      A       192.168.1.114
> strasbourg              IN      CNAME   france
> turkey                  IN      A       192.168.1.114
> ercec-tr                IN      CNAME   turkey
> iran                    IN      A       192.168.1.114
> khoy-ir                 IN      CNAME   iran
> afghanistan             IN      A       192.168.1.114
> kabul-af                IN      CNAME   afghanistan
> syria                   IN      A       192.168.1.114
> lebanon                 IN      A       192.168.1.114
> morocco                 IN      A       192.168.1.114
> marrakech-ma            IN      CNAME   morocco
> casablanca-ma           IN      CNAME   morocco
> quarzazarte-ma          IN      CNAME   morocco
> fes-ma                  IN      CNAME   morocco
> 
> 
> -- Attached file included as plaintext by Ecartis --
> 
> $TTL    43200
> @                       IN      SOA     dns1.tamay-dogan.net.
> root.omega.tamay-dogan.net.     (
>                                 2004090101 ; serial
>                                 1H         ; refresh
>                                 15M        ; retry
>                                 14D        ; expire
>                                 12H        ; default_ttl
>                                 )
> 
> omega.tamay-dogan.net.  IN      MX 10   mail.tamay-dogan.net.
>                         IN      MX 20   backup.michelle-is.com.
> 
> @                       IN      NS      dns1.tamay-dogan.net.
> router                  IN      A       192.168.1.97
> work1                   IN      A       192.168.1.98
> work2                   IN      A       192.168.1.99
> access                  IN      A       192.168.1.100
> 576-1                   IN      A       192.168.1.101
> 576-2                   IN      A       192.168.1.102
> 336-1                   IN      A       192.168.1.103
> 336-2                   IN      A       192.168.1.104
> 128-1                   IN      A       192.168.1.105
> www                     IN      A       192.168.1.106
> db                      IN      A       192.168.1.107
> bin                     IN      A       192.168.1.108
> id                      IN      A       192.168.1.109
> lpd                     IN      A       192.168.1.110
> 
> 
> 
> -- Attached file included as plaintext by Ecartis --
> 
> $TTL    43200
> @                       IN      SOA     dns1.tamay-dogan.net.
> root.tsunami.tamay-dogan.net.   (
>                                 2004090101 ; serial
>                                 1H         ; refresh
>                                 15M        ; retry
>                                 14D        ; expire
>                                 12H        ; default_ttl
>                                 )
> 
> @                       IN      NS      dns1.tamay-dogan.net.
> router                  IN      A       192.168.1.129
> cor-01                  IN      A       192.168.1.130
> cor-02                  IN      A       192.168.1.131
> cor-03                  IN      A       192.168.1.132
> cor-04                  IN      A       192.168.1.133
> cor-05                  IN      A       192.168.1.134
> cor-06                  IN      A       192.168.1.135
> cor-07                  IN      A       192.168.1.136
> cor-08                  IN      A       192.168.1.137
> cor-09                  IN      A       192.168.1.138
> cor-10                  IN      A       192.168.1.139
> cor-11                  IN      A       192.168.1.140
> 
> 
> -- Attached file included as plaintext by Ecartis --
> 
> $TTL    43200
> @                       IN      SOA     dns1.tamay-dogan.net.
> root.pool.tamay-dogan.net.      (
>                                 2004090101 ; serial
>                                 1H         ; refresh
>                                 15M        ; retry
>                                 14D        ; expire
>                                 12H        ; default_ttl
>                                 )
> 
> pool.tamay-dogan.net.   IN      MX 10   mail.tamay-dogan.net.
>                         IN      MX 20   backup.michelle-is.com.
> 
> @                       IN      NS      dns1.tamay-dogan.net.
> client-001              IN      A       192.168.1.141
> client-002              IN      A       192.168.1.142
> client-003              IN      A       192.168.1.143
> client-004              IN      A       192.168.1.144
> client-005              IN      A       192.168.1.145
> client-006              IN      A       192.168.1.146
> client-007              IN      A       192.168.1.147
> client-008              IN      A       192.168.1.148
> client-009              IN      A       192.168.1.149
> client-010              IN      A       192.168.1.150
> client-011              IN      A       192.168.1.151
> client-012              IN      A       192.168.1.152
> client-013              IN      A       192.168.1.153
> client-014              IN      A       192.168.1.154
> client-015              IN      A       192.168.1.155
> client-016              IN      A       192.168.1.156
> client-017              IN      A       192.168.1.157
> client-018              IN      A       192.168.1.158
> client-019              IN      A       192.168.1.159
> client-020              IN      A       192.168.1.160
> client-021              IN      A       192.168.1.161
> client-022              IN      A       192.168.1.162
> client-023              IN      A       192.168.1.163
> client-024              IN      A       192.168.1.164
> client-025              IN      A       192.168.1.165
> client-026              IN      A       192.168.1.166
> client-027              IN      A       192.168.1.167
> client-028              IN      A       192.168.1.168
> client-029              IN      A       192.168.1.169
> client-030              IN      A       192.168.1.170
> client-031              IN      A       192.168.1.171
> client-032              IN      A       192.168.1.172
> client-033              IN      A       192.168.1.173
> client-034              IN      A       192.168.1.174
> client-035              IN      A       192.168.1.175
> client-036              IN      A       192.168.1.176
> client-037              IN      A       192.168.1.177
> client-038              IN      A       192.168.1.178
> client-039              IN      A       192.168.1.179
> client-040              IN      A       192.168.1.180
> client-041              IN      A       192.168.1.181
> client-042              IN      A       192.168.1.182
> client-043              IN      A       192.168.1.183
> client-044              IN      A       192.168.1.184
> client-045              IN      A       192.168.1.185
> client-046              IN      A       192.168.1.186
> client-047              IN      A       192.168.1.187
> client-048              IN      A       192.168.1.188
> client-049              IN      A       192.168.1.189
> client-050              IN      A       192.168.1.190
> client-051              IN      A       192.168.1.191
> client-052              IN      A       192.168.1.192
> client-053              IN      A       192.168.1.193
> client-054              IN      A       192.168.1.194
> client-055              IN      A       192.168.1.195
> client-056              IN      A       192.168.1.196
> client-057              IN      A       192.168.1.197
> client-058              IN      A       192.168.1.198
> client-059              IN      A       192.168.1.199
> client-060              IN      A       192.168.1.200
> client-061              IN      A       192.168.1.201
> client-062              IN      A       192.168.1.202
> client-063              IN      A       192.168.1.203
> client-064              IN      A       192.168.1.204
> client-065              IN      A       192.168.1.205
> client-066              IN      A       192.168.1.206
> client-067              IN      A       192.168.1.207
> client-068              IN      A       192.168.1.208
> client-069              IN      A       192.168.1.209
> client-070              IN      A       192.168.1.210
> client-071              IN      A       192.168.1.211
> client-072              IN      A       192.168.1.212
> client-073              IN      A       192.168.1.213
> client-074              IN      A       192.168.1.214
> client-075              IN      A       192.168.1.215
> client-076              IN      A       192.168.1.216
> client-077              IN      A       192.168.1.217
> client-078              IN      A       192.168.1.218
> client-079              IN      A       192.168.1.219
> client-080              IN      A       192.168.1.220
> client-081              IN      A       192.168.1.221
> client-082              IN      A       192.168.1.222
> client-083              IN      A       192.168.1.223
> client-084              IN      A       192.168.1.224
> client-085              IN      A       192.168.1.225
> client-086              IN      A       192.168.1.226
> client-087              IN      A       192.168.1.227
> client-088              IN      A       192.168.1.228
> client-089              IN      A       192.168.1.229
> client-090              IN      A       192.168.1.230
> client-091              IN      A       192.168.1.231
> client-092              IN      A       192.168.1.232
> client-093              IN      A       192.168.1.233
> client-094              IN      A       192.168.1.234
> client-095              IN      A       192.168.1.235
> client-096              IN      A       192.168.1.236
> client-097              IN      A       192.168.1.237
> client-098              IN      A       192.168.1.238
> client-099              IN      A       192.168.1.239
> client-100              IN      A       192.168.1.240
> client-101              IN      A       192.168.1.241
> client-102              IN      A       192.168.1.242
> client-103              IN      A       192.168.1.243
> client-104              IN      A       192.168.1.244
> client-105              IN      A       192.168.1.245
> client-106              IN      A       192.168.1.246
> client-107              IN      A       192.168.1.247
> client-108              IN      A       192.168.1.248
> client-109              IN      A       192.168.1.249
> client-110              IN      A       192.168.1.250
> client-111              IN      A       192.168.1.251
> client-112              IN      A       192.168.1.252
> client-113              IN      A       192.168.1.253
> client-114              IN      A       192.168.1.254
> 
> 
> 
> -- Attached file included as plaintext by Ecartis --
> -- File: signature.pgp
> -- Desc: Digital signature
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.4 (GNU/Linux)
> 
> iD8DBQFBQJQWC0FPBMSS+BIRArxgAJ9hc0MssdZQCRr28g0hVYljYizOiQCgrCLV
> +OCgIaakwlNEZqpn2SrqRIw=
> =2/tv
> -----END PGP SIGNATURE-----
> 
> 
> 

-----BEGIN PGP SIGNATURE-----
Version: PGP 8.1

iQA/AwUBQUCZ+UYhBmUvDNxOEQLX9wCfWOOFE0yRuxKc0v3sU/jr7i/oVPgAoLQf
Vrlw9AtLhxcijcckVdTEsf4r
=61+l
-----END PGP SIGNATURE-----



More information about the bind-users mailing list