LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 06-01-2004, 12:40 AM   #1
suse_linux9.1
LQ Newbie
 
Registered: Jun 2004
Posts: 5

Rep: Reputation: 0
lame dns servers etc and general dns issues


Hi there,
I'm very new to Linux and I'm trying to setup my own little server here, although I've run into a few issues, any help would be greatly appreciated.

I'll try to give as many details as possible, I've only been using linux for three days now, so bear with me

I went to (dnsreport.com) and this is what I get for my dns report:

(dnsreport.com/tools/dnsreport.ch?domain=phil-keaggy.com)

I'm confused about the lame nameservers, and how it it can't read my SOA record.

My soa record for the domain: phil-keaggy.com is located at: /var/lib/named/master and is named phil-keaggy.com here is what it says:

$TTL 2D
@ IN SOA ns1.phil-keaggy.com webmaster.mediareaction.com. (
2004053111 ; serial
1H ; refresh
1H ; retry
1W ; expiry
1D ) ; minimum

(phil-keaggy.com) IN NS ns1.phil-keaggy.com
(phil-keaggy.com) IN NS ns2.phil-keaggy.com
(phil-keaggy.com) IN A 24.80.196.184
(phil-keaggy.com) IN CNAME (phil-keaggy.com)
ftp.phil-keaggy.com IN CNAME (phil-keaggy.com)
(phil-keaggy.com) IN MX 10 (phil-keaggy.com)

I used Yast to generate this file, I think it's okay, but I guess it's not getting read.

I'm running Apache 1.3.31

When I go to my nameservers in my browser they work, but I guess they are lame :P

As you can imagine I'm slightly lost, if anyone could help me out that would be great!, thanks

PS - Ignore the brackets around my domains, it wouldn't let me post a roper URL.

Last edited by suse_linux9.1; 06-01-2004 at 12:41 AM.
 
Old 06-01-2004, 06:17 AM   #2
Technonotice
Member
 
Registered: Mar 2004
Location: UK
Distribution: Debian Unstable
Posts: 58

Rep: Reputation: 15
Re: lame dns servers etc and general dns issues

Hiya,

You need to add entries for "ns1.phil-keaggy.com" and "ns2.phil-keaggy.com". To explain:

in the config, you've got specified that ns1.phil-keaggy.com and ns2.phil-keaggy.com are your name servers for your domain by saying:

Quote:
(phil-keaggy.com) IN NS ns1.phil-keaggy.com
(phil-keaggy.com) IN NS ns2.phil-keaggy.com
Now, you've got to specify what the IP addresses are for these servers. In your case, I assume you've only got the one server and so both name servers will point to the same IP address.

Try using the following as your config file:

Quote:
$TTL 2D
@ IN SOA ns1.phil-keaggy.com webmaster.mediareaction.com. (
2004053111 ; serial
1H ; refresh
1H ; retry
1W ; expiry
1D ) ; minimum

@ IN NS ns1.phil-keaggy.com.
@ IN NS ns2.phil-keaggy.com.
@ IN A 24.80.196.184
@ IN MX 10 phil-keaggy.com.
ns1 IN A 24.80.196.184
ns2 IN A 24.80.196.184
ftp IN CNAME phil-keaggy.com.
Make sure you don't miss the full stops/periods from the end of a couple of those addresses (or copy + paste the above ). If there's no full stop at the end, BIND (your DNS server) will automatically add on ".phil-keaggy.com." to the end of it (which is why the ones on the left are shortened).

You can use the "host" and "dig" programs in the console to find out more about the set up of your domains. Type:

host ftp.phil-keaggy.com

to get the IP address, or

dig phil-keaggy.com

to get lots of info about it. Hope this helps.
 
Old 06-01-2004, 12:38 PM   #3
suse_linux9.1
LQ Newbie
 
Registered: Jun 2004
Posts: 5

Original Poster
Rep: Reputation: 0
Hey thanks alot I thought I was a lost cause there Everything is cool now, excpet one small thing but I don't think it will take long to figure it out.

Here is my zone file now:

$TTL 2D
@ IN SOA ns1.phil-keaggy.com. webmaster.mediareaction.com. (
2004053111 ; serial
1H ; refresh
1H ; retry
1W ; expiry
1D ) ; minimum

@ IN NS ns1.phil-keaggy.com.
@ IN NS ns2.phil-keaggy.com.
@ IN A 24.80.196.184
@ IN MX 10 phil-keaggy.com.
ns1 IN A 24.80.196.184
ns2 IN A 24.80.196.184
www IN CNAME phil-keaggy.com.
ftp IN CNAME phil-keaggy.com.

My only issue is now, phil-keaggy.com will come up, but www.phil-keaggy.com will not.

Do I need to restart apache? I restarted bind but it still won't come up.

I added www IN CNAME phil-keaggy.com. to my named file but I guess it didn't work.

Thanks again for the help

update: I can't fnd the page if I try ftp.phil-keaggy.com or ftp://phil-keaggy.com either but I do get info if I use dig @ftp.phil-keaggy.com

Although if I use dig @www.phil-keaggy.com it can't find anything.

update again: I added phil-keaggy.com. IN A www.phil-keaggy.com. and that seemed to fix it

Last edited by suse_linux9.1; 06-01-2004 at 01:28 PM.
 
Old 06-01-2004, 01:50 PM   #4
suse_linux9.1
LQ Newbie
 
Registered: Jun 2004
Posts: 5

Original Poster
Rep: Reputation: 0
help again :P

Alright I had another issue, but basically my question is, does this zone file look okay:

$TTL 2D
@ IN SOA ns1.phil-keaggy.com. webmaster.mediareaction.com. (
2004053111 ; serial
1H ; refresh
1H ; retry
1W ; expiry
1D ) ; minimum

@ IN NS ns1.phil-keaggy.com.
@ IN NS ns2.phil-keaggy.com.
@ IN A 24.80.196.184
@ IN MX 10 phil-keaggy.com.
ns1 IN A 24.80.196.184
ns2 IN A 24.80.196.184
www IN CNAME phil-keaggy.com.
ftp IN CNAME phil-keaggy.com.

will this give me http://phil-keaggy.com and www.phil-keaggy.com?

thanks

Last edited by suse_linux9.1; 06-01-2004 at 01:55 PM.
 
  


Reply



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
dns servers? jungleking Linux - Newbie 2 09-17-2005 11:00 AM
DNS Servers dboogie Linux - Newbie 4 05-27-2004 03:17 PM
DNS Name servers? jadal Linux - General 2 05-16-2004 02:21 AM
Where do I specify DNS servers? peeples Linux From Scratch 6 11-24-2002 05:08 PM
DNS Servers anticoffee Linux - Networking 2 07-25-2002 07:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration