LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 04-19-2005, 08:05 PM   #1
Immolo
LQ Newbie
 
Registered: May 2004
Posts: 8

Rep: Reputation: 0
Configuring BIND to work with a domain name


Hello,

I've setup BIND to work with my domain name immolo.net but I'm having a small problem as it will only allow subdomains such as www.immolo.net or ftp.immolo.net to work but what I need is a way to assign my ip to just immolo.net.

My current config is:

Code:
$TTL 3D
@       IN      SOA     immolo.net. immolo.immolo.net. (
                        2004081401
                        8H      ; Refresh
                        2H      ; Retry
                        4W      ; Expire
                        1D )    ; Minimum TTL
        IN      NS      localhost.
        IN      NS      ns1.immolo.net.
        IN      NS      ns2.immolo.net.
        IN      MX      10 localhost.
        IN      MX      20 mail.immolo.net.
;
localhost       A       127.0.0.1
server          A       81.96.17.126
laptop          A       192.168.0.2
rachel          A       192.168.0.3
dev             A       192.168.0.4
wireless        A       192.168.0.5
ns1             A       81.96.17.126
ns2             A       81.96.17.126
www             CNAME   server
ftp             CNAME   server
mail            CNAME   server
imap            CNAME   server
irc             CNAME   server
I would be greatful for any help in this matter.

Ian
 
Old 04-19-2005, 08:17 PM   #2
tangle
Senior Member
 
Registered: Apr 2002
Location: Smithville, TN
Distribution: Slackware
Posts: 1,745

Rep: Reputation: 71
You can not assign a IP number to a domain name. The immolo.net is the top level in the domain or the domain name.

In other words, if you had a single domain with no sub domains. The domain name is immolo.net. If you had a server named www, it's name is www and the domain name is immolo.net.

I hope I did not confuse you.
 
Old 04-19-2005, 08:31 PM   #3
scowles
Member
 
Registered: Sep 2004
Location: Texas, USA
Distribution: Fedora
Posts: 620

Rep: Reputation: 31
Add the following line to your zone file. The @ sign is replaced with the zone name passed from named.conf when the zone file is parsed.
Code:
@     IN       A       81.96.17.126
-or- the same thing without the @ sugn:
Code:
immolo.net.   IN     A       81.96.17.126
 
Old 04-19-2005, 08:34 PM   #4
tangle
Senior Member
 
Registered: Apr 2002
Location: Smithville, TN
Distribution: Slackware
Posts: 1,745

Rep: Reputation: 71
I didn't know that. Learn something new everyday.
 
Old 04-20-2005, 06:32 AM   #5
Immolo
LQ Newbie
 
Registered: May 2004
Posts: 8

Original Poster
Rep: Reputation: 0
Thank you scowles that sorted my problem out and now I can get my email system back up.
 
  


Reply


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
Bind - Why won't my LAN domain work? jimieee Linux - Networking 1 05-09-2005 12:07 PM
Cant get entry in bind to work with domain.com instead of www.domain.com pxes351 Linux - Networking 12 05-09-2005 06:20 AM
Configuring DNS to Work with my domain jrbush82 Linux - Networking 1 04-19-2005 09:54 PM
DNS/BIND domain 'authority' tisource Linux - Software 7 07-15-2004 06:16 AM
Setting up a domain host with bind. fur Linux - Networking 2 04-08-2004 07:45 PM


All times are GMT -5. The time now is 11:46 PM.

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