Kloxo-MR面板:How to set dns

6,501 views次阅读
没有评论

前文我们说过Kloxo-MR面板DNS模块的使用,但那只是DNS模块的初级用法,更复杂更高级的用法在此,大家慢慢体会。。。

vps面板Kloxo的安装使用

Kloxo-MR面板DNS模块的使用

Kloxo-MR面板邮局模块的使用

Imagine this situation:

1. Kloxo install on VPS1 and VPS2
2. on VPS1 want install domain
3. on VPS2 want install subdomain

4. Domain is mydomain.com and subdomain is subdom.mydomain.com
5. IP for VPS1 is 123.111.111.111 and for VPS2 is 123.222.222.222
6. IP for registrar dns is 123.333.333.333

Step 1:

1.1. set “A record” (child nameserver) and “NS Record” (nameserver) on Registrar (where we buy domain) panel:

ns1                       A                –                          123.111.111.111
ns2                       A                –                          123.333.333.333
–                         NS               –                          ns1.mydomain.com
–                         NS               –                          ns2.mydomain.com

Step 2:

2.1. make dns-template on VPS1 with name ‘default’ for domain:

__base__              A                 –                          123.111.111.111
cp                        A                 –                          123.111.111.111
mail                     A                 –                          123.111.111.111
ns                        A                 –                          123.111.111.111
ns1                      A                 –                          123.111.111.111
ns2                      A                 –                          123.333.333.333
ftp                      CN                –                           __base__
lists                    CN                –                           mail
webmail             CN                –                           mail
www                   CN                –                          __base__
default.dnst        MX              10                        mail.default.dnst
–                        NS                –                          ns1.default.dnst
–                        NS                –                          ns2.default.dnst

2.2. make dns-template on VPS1 with name ‘outside’ for subdomain:

  *                         A                  –                         123.222.222.222
__base__               A                  –                         123.222.222.222
ns1                       A                  –                         123.222.222.222
ns2                       A                  –                         123.111.111.111
–                        NS                 –                         ns1.outside.dnst
–                        NS                 –                         ns2.outside.dnst

2.3. add mydomain.com and select default.dnst template and result (no all contents; just for illustration):

__base__               A                   –                        123.111.111.111
cp                         A                   –                        123.111.111.111
mail                      A                   –                        123.111.111.111
ns                         A                   –                        123.111.111.111
ns1                       A                   –                        123.111.111.111
ns2                       A                   –                        123.333.333.333
ftp                       CN                 –                         __base__
lists                      CN                 –                        mail
webmail               CN                 –                        mail
www                    CN                  –                       __base__
mydomain.com   MX                10                      mail.mydomain.com
–                         NS                  –                       ns1.mydomain.com
–                         NS                  –                       ns2.mydomain.com

2.4. add submydomain.com and select outside.dnst template and result (no all contents; just for illustration):

*                            A                   –                        123.222.222.222
__base__                A                   –                        123.222.222.222
ns1                        A                   –                        123.222.222.222
ns2                        A                   –                        123.111.111.111
–                         NS                  –                        ns1.subdom.mydomain.com
–                         NS                  –                        ns2.subdom.mydomain.com

Step 3:

3.1. make dns-template on VPS2 with name ‘subdomain’ for subdomain:

__base__                 A                   –                       123.222.222.222
cp                           A                   –                       123.222.222.222
mail                        A                   –                       123.222.222.222
ns                           A                   –                       123.222.222.222
ns1                         A                    –                      123.222.222.222
ns2                         A                    –                      123.111.111.111
ftp                         CN                  –                       __base__
lists                       CN                   –                       mail
webmail                CN                   –                       mail
www                      CN                   –                      __base__
subdomain.dnst    MX                 10                     mail.subdomain.dnst
–                           NS                   –                      ns1.subdomain.dnst
–                           NS                   –                      ns2.subdomain.dnst

3.2. add subdom.mydomain.com and select subdomain.dnst template and result (no all contents; just for illustration):

__base__                  A                     –                     123.222.222.222
cp                            A                     –                     123.222.222.222
mail                         A                     –                     123.222.222.222
ns                            A                      –                    123.222.222.222
ns1                          A                      –                    123.222.222.222
ns2                          A                      –                    123.111.111.111
ftp                          CN                     –                    __base__
lists                        CN                      –                   mail
webmail                 CN                      –                    mail
www                       CN                      –                   __base__
subdom.mydomain.com            MX           10           mail.subdom.mydomain.com
–                          NS                      –                   ns1.subdom.mydomain.com
–                          NS                      –                   ns2.subdom.mydomain.com

正文完
 0
评论(没有评论)