LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 01-12-2012, 07:13 AM   #1
Gianni Valenti
LQ Newbie
 
Registered: Oct 2004
Location: Pisa - Italy
Distribution: Debian
Posts: 6

Rep: Reputation: 0
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
 
Old 01-12-2012, 09:52 AM   #2
castorw
LQ Newbie
 
Registered: Jan 2012
Distribution: Debain, Gentoo
Posts: 9

Rep: Reputation: 0
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.
 
  


Reply

Tags
alias, bind9, dns


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] few question about configure bind9 on Ubuntu. yy885 Linux - Server 5 11-17-2011 01:25 AM
BIND9 -> configure rndc.key cccc Debian 1 06-24-2009 06:15 AM
Dynamic IP, Bind9, Subdomain Question skorpi0wn Linux - Networking 1 06-04-2009 02:22 PM
BIND9 - adding subdomain yah0m Linux - Networking 3 08-15-2008 08:55 PM
Bind9 Configure tandre Linux - Software 2 04-09-2003 04:52 AM


All times are GMT -5. The time now is 10:03 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration