LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Configure subdomain alias in bind9 (http://www.linuxquestions.org/questions/linux-networking-3/configure-subdomain-alias-in-bind9-923433/)

Gianni Valenti 01-12-2012 07:13 AM

Configure subdomain alias in bind9
 
Hello,

I just installed a new home server with debian stabile and I have a question about bind9.

I would like to configure bind9 so that myname.dyndns.org is resolved to 192.168.1.1 while for *.dyndns.org a request to the right dns server is made.

Can anyone help me with this?

Also a keyword to start a google search with would be ok.

Thank you very much.

Bye,
Gianni

castorw 01-12-2012 09:52 AM

AFAIK this should not be problem.

Just create zone myname.dyndns.org and add a root A record pointing to 192.168.1.1.

Like this:

Code:

$TTL 86400

@      IN      SOA    ns.myname.dyndns.org.      myname.dyndns.org. (
                        2012011299        ; serial number YYMMDDNN
                        28800          ; Refresh
                        7200            ; Retry
                        864000          ; Expire
                        86400          ; Min TTL
                        )

                NS      ns.myname.dyndns.org.

ns.myname.dyndns.org.                                IN        A        192.168.1.1
myname.dyndns.org.          IN    A      192.168.1.1

I know, that stuff with ns.myname.dyndns.org. is kinda messy but it should work fine.


All times are GMT -5. The time now is 02:50 AM.