LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 06-18-2004, 02:30 AM   #61
Pete M
Member
 
Registered: Aug 2003
Location: UK
Distribution: Redhat 9 FC 3 SUSE 9.2 SUSE 9.3 Gentoo 2005.0 Debian Sid
Posts: 657

Rep: Reputation: 32

Hi Jason

NETWORKING=yes
HOSTNAME=ns1.tech-magic.net

Must be something to do with the way Fedora is set up, using Redhat myself, if thats the way Fedora likes it so be it but I would only use

NETWORKING=yes
HOSTNAME=tech-magic.net

As tech-magic.net is your domain ns1 is really a CNAME or alias


options {
directory "/var/named";
query-source address * port 53;
allow-query { 127.0.0.1; localhost; };
allow-recursion { 127.0.0.1; localhost; };
listen-on { 192.168.1.10; };
version "Hey that's my business!";
};

Try my way

options {
directory "/var/named";
query-source port 53;
allow-query { any; };
version "Hey that's my business!";
};


Read this post chort explains TCP and UDP much better than I can

Link

Off to work now, catch you later

Pete
 
Old 06-18-2004, 03:26 AM   #62
bsurfin
Member
 
Registered: May 2004
Location: Kalispell Montana
Distribution: Ubuntu 18.04LTS
Posts: 143

Original Poster
Rep: Reputation: 16
My Server DID NOT like that change at all "AT FIRST" now my up to date updater is working again, So now I know what you meant about it lookin funny, how's this?
[tech1@tech-magic.net]$

I like it, it does look better ! But do I need to change the records, they'd all be alliases I think then right? or are they all A names? Or should I just leave it the heck alone for now?
I also added TCP to the allow list for port #53.

I no longer get ns1.tech-magic.net from the internet, so I try http://tech-magic.net & www.tech-magic.net

Not working quite yet.

Last edited by bsurfin; 06-18-2004 at 03:33 AM.
 
Old 06-18-2004, 07:08 AM   #63
Pete M
Member
 
Registered: Aug 2003
Location: UK
Distribution: Redhat 9 FC 3 SUSE 9.2 SUSE 9.3 Gentoo 2005.0 Debian Sid
Posts: 657

Rep: Reputation: 32
Jason getting better results from the net still not right but better, at work right now will take a look later

Pete
 
Old 06-18-2004, 08:19 AM   #64
bsurfin
Member
 
Registered: May 2004
Location: Kalispell Montana
Distribution: Ubuntu 18.04LTS
Posts: 143

Original Poster
Rep: Reputation: 16
Sounds good to me...
Oh Yeah, and that last thing I did changing named.conf, worked really good, it is now binded to port #53 and is running really fast still...

Thanks Pete...

Last edited by bsurfin; 06-18-2004 at 08:21 AM.
 
Old 06-18-2004, 12:55 PM   #65
Pete M
Member
 
Registered: Aug 2003
Location: UK
Distribution: Redhat 9 FC 3 SUSE 9.2 SUSE 9.3 Gentoo 2005.0 Debian Sid
Posts: 657

Rep: Reputation: 32
Jason

Post your files again for me, still not working quite right, report on
ns1.tech-magic.net says it's alive but not authorative

Lets take another look at /etc/named.conf and the contents of /var/named I now this is not where your files are because of chroot but you know what I mean

Pete
 
Old 06-18-2004, 02:10 PM   #66
bsurfin
Member
 
Registered: May 2004
Location: Kalispell Montana
Distribution: Ubuntu 18.04LTS
Posts: 143

Original Poster
Rep: Reputation: 16
## Tech Magic's /var/named/chroot/etc/named.conf file...
#

options {
directory "/var/named";
query-source port 53;
allow-query { any; };
version "Hey, that's my business!";
};

logging {
category lame-servers { null; };
};

// Root server hints
zone "." { type hint; file "named.ca"; };

// Provide a reverse mapping for the loopback address 127.0.0.1
zone "0.0.127.in-addr.arpa" {
type master;
file "named.local";
notify no;
};

// We are the master server for www.tech-magic.net
zone "tech-maigc.net" {
type master;
file "tech-magic.forward";
allow-query { any; };
};

zone "63.91.64.in-addr.arpa" {
type master;
file "tech-magic.rev";
allow-query { any; };
};
~
~




And here is /var/named

" Press ? for keyboard shortcuts
" Sorted by name (.bak,~,.o,.h,.info,.swp,.obj at end of list)
"= /var/named/
../
chroot/
slaves/
localhost.zone
named.ca
named.local
root.hints
~

Well I still have my fingers X'ed

catchyalater
 
Old 06-18-2004, 03:09 PM   #67
Pete M
Member
 
Registered: Aug 2003
Location: UK
Distribution: Redhat 9 FC 3 SUSE 9.2 SUSE 9.3 Gentoo 2005.0 Debian Sid
Posts: 657

Rep: Reputation: 32
Sorry Jason buts it's the content of the files in /var/named I want to look, the actual zone files

Sorry I did'nt explain very well

Pete
 
Old 06-18-2004, 06:38 PM   #68
bsurfin
Member
 
Registered: May 2004
Location: Kalispell Montana
Distribution: Ubuntu 18.04LTS
Posts: 143

Original Poster
Rep: Reputation: 16
As you requested, here is /var/named

[root@tech-magic root]# cd /var/named
[root@tech-magic named]# ls
chroot localhost.zone named.ca named.local root.hints slaves
[root@tech-magic named]#

and incase you were mistaken, or I was, or in either case here is the context of
/var/named/chroot/var/named/

[root@tech-magic root]# cd /var/named/chroot/var/named
[root@tech-magic named]# ls
localhost.zone named.ca named.local tech-magic.forward tech-magic.rev
[root@tech-magic named]#

I'll look forward to hearing back from you ...
 
Old 06-19-2004, 02:02 PM   #69
Pete M
Member
 
Registered: Aug 2003
Location: UK
Distribution: Redhat 9 FC 3 SUSE 9.2 SUSE 9.3 Gentoo 2005.0 Debian Sid
Posts: 657

Rep: Reputation: 32
Hi Jason I posted this at 8:00 am UK time, but just checked back here and my post has gone must be a glitch with the forum

What I would like to see are the actual zone files such as

$TTL 86400
@ IN SOA tech-magic.net.
hostmaster.tech-magic.net. (
20040610019 ;Serial#
28800 ;Refresh
7200 ;Retry
604800 ;Expire
86400 ;Minimum TTL
)

NS ns1.tech-magic.net.
tech-magic.net. A 64.91.63.93
localhost A 127.0.0.1
mail A 64.91.63.93
ns1 CNAME tech-magic.net.
email CNAME tech-magic.net.
www CNAME tech-magic.net.

Want to see if I can spot any errors

Pete
 
Old 06-19-2004, 03:02 PM   #70
bsurfin
Member
 
Registered: May 2004
Location: Kalispell Montana
Distribution: Ubuntu 18.04LTS
Posts: 143

Original Poster
Rep: Reputation: 16
Here is: localhost.zone

$TTL 86400
$ORIGIN localhost.
@ 1D IN SOA @ root (
42 ; serial (d. adams)
3H ; refresh
15M ; retry
1W ; expiry
1D ) ; minimum

1D IN NS @
1D IN A 127.0.0.1
~
~



here is: named.ca


; <<>> DiG 9.2.3 <<>> @e.root-servers.net. ns
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 63065
;; flags: qr aa rd; QUERY: 1, ANSWER: 13, AUTHORITY: 0, ADDITIONAL: 13

;; QUESTION SECTION:
;. IN NS

;; ANSWER SECTION:
. 518400 IN NS K.ROOT-SERVERS.NET.
. 518400 IN NS L.ROOT-SERVERS.NET.
. 518400 IN NS M.ROOT-SERVERS.NET.
. 518400 IN NS I.ROOT-SERVERS.NET.
. 518400 IN NS E.ROOT-SERVERS.NET.
. 518400 IN NS D.ROOT-SERVERS.NET.
. 518400 IN NS A.ROOT-SERVERS.NET.
. 518400 IN NS H.ROOT-SERVERS.NET.
. 518400 IN NS C.ROOT-SERVERS.NET.
. 518400 IN NS G.ROOT-SERVERS.NET.
. 518400 IN NS F.ROOT-SERVERS.NET.
. 518400 IN NS B.ROOT-SERVERS.NET.
. 518400 IN NS J.ROOT-SERVERS.NET.

;; ADDITIONAL SECTION:
K.ROOT-SERVERS.NET. 3600000 IN A 193.0.14.129
L.ROOT-SERVERS.NET. 3600000 IN A 198.32.64.12
M.ROOT-SERVERS.NET. 3600000 IN A 202.12.27.33
I.ROOT-SERVERS.NET. 3600000 IN A 192.36.148.17
E.ROOT-SERVERS.NET. 3600000 IN A 192.203.230.10
D.ROOT-SERVERS.NET. 3600000 IN A 128.8.10.90
A.ROOT-SERVERS.NET. 3600000 IN A 198.41.0.4
H.ROOT-SERVERS.NET. 3600000 IN A 128.63.2.53
C.ROOT-SERVERS.NET. 3600000 IN A 192.33.4.12
G.ROOT-SERVERS.NET. 3600000 IN A 192.112.36.4
F.ROOT-SERVERS.NET. 3600000 IN A 192.5.5.241
B.ROOT-SERVERS.NET. 3600000 IN A 192.228.79.201
J.ROOT-SERVERS.NET. 3600000 IN A 192.58.128.30

;; Query time: 106 msec
;; SERVER: 192.203.230.10#53(e.root-servers.net.)
;; WHEN: Wed Jun 16 00:11:15 2004
;; MSG SIZE rcvd: 436



Here is: named.local

$TTL 86400
@ IN SOA tech-magic.net. hostmaster.tech-magic.net. (
2004061701 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 ) ; Minimum


NS ns1.tech-magic.net.

1 PTR localhost.
~

here is: tech-magic.forward

; This file is Tech Magic's /var/named/chroot/var/named/tech-magic.forward



$TTL 86400
@ IN SOA ns1.tech-magic.net. hostmaster.tech-magic.net. (
2004061701 ;Serial#
28800 ;Refresh
7200 ;Retry
604800 ;Expire
86400 ;Minimum TTL
)



NS ns1.tech-magic.net.


tech-magic.net. A 64.91.63.93

localhost A 127.0.0.1

mail A 64.91.63.93

ns1 CNAME tech-magic.net.

email CNAME tech-magic.net.

www CNAME tech-magic.net.


here is tech-magic.rev

This file is: /var/named/chroot/var/named/tech-magic.rev

$TTL 86400
@ IN SOA ns1.tech-magic.net. hostmaster.tech-magic.net. (
2004061701 ;Serial#
28800 ;Refresh
7200 ;Refresh
604800 ;Expire
86400 ;Minimum TTL
)



NS ns1.tech-magic.net.



93 PTR tech-magic.net.

93 PTR www.tech-magic.net.

93 PTR mail.tech-magic.net.

93 PTR email.tech-magic.net.

93 PTR ns1.tech-magic.net.



Well if you think this Fedora is hopeless, just let me know and I can always install Slackware and I hav no doubt I can get that to work, the only reason I wanted to use Fedora is because I really like how it installs, and it comes with software that is nearly impossible to get onto Slackware. Also with Slackware you really have to know what you are doing, and it is not supported nearly as well as Fedora. But if I reinstall Slackware I don't think I'll be needing the GUI this time and that will just make it easier, and the one thing that is really cool about Slackware is the new Slackware Current, it can update and upgrade itself...
 
Old 06-20-2004, 11:42 AM   #71
Pete M
Member
 
Registered: Aug 2003
Location: UK
Distribution: Redhat 9 FC 3 SUSE 9.2 SUSE 9.3 Gentoo 2005.0 Debian Sid
Posts: 657

Rep: Reputation: 32
Jason try these for size you should be able to copy and paste them

Here is /etc/named.conf

options {
directory "/var/named";
query-source port 53;
allow-query { any; };
version "Hey, that's my business!";
};

logging {
category lame-servers { null; };
};


// Root server hints
zone "." { type hint; file "named.ca"; };


// Provide a reverse mapping for the loopback address 127.0.0.1
zone "0.0.127.in-addr.arpa" {
type master;
file "named.local";
notify no;
};


// We are the master server for www.tech-magic.net
zone "tech-magic.net" {
type master;
file "tech-magic.forward";
allow-query { any; };
};


zone "63.91.64.in-addr.arpa" {
type master;
file "tech-magic.rev";
allow-query { any; };
};


Here is named.local

$TTL 86400
@ IN SOA localhost. hostmaster.tech-magic.net. (
2004061701 ; Serial
10800 ; Refresh
3600 ; Retry
604800 ; Expire
86400 ) ; Minimum TTL


0.0.127.in-addr.arpa. NS localhost.

1 PTR localhost.


Here is tech-magic.forward

$TTL 86400
@ IN SOA ns1.tech-magic.net. hostmaster.tech-magic.net. (
2004061701 ;Serial#
10800 ;Refresh
3600 ;Retry
604800 ;Expire
86400 ) ;Minimum TTL






tech-magic.net. IN NS ns1.tech-magic.net.


tech-magic.net. IN A 64.91.63.93

localhost IN A 127.0.0.1
mail IN A 64.91.63.93
ns1 CNAME tech-magic.net.
email CNAME tech-magic.net.
www CNAME tech-magic.net.


Here is tech-magic.rev

$TTL 86400
@ IN SOA ns1.tech-magic.net. hostmaster.tech-magic.net. (
2004061701 ;Serial#
10800 ;Refresh
3600 ;Retry
604800 ;Expire
86400 ) ;Minimum TTL



63.91.64.in-addr.arpa. IN NS ns1.tech-magic.net.

3 IN PTR tech.magic.net.
3 IN PTR mail.tech-magic.net.

Regards

Pete
 
Old 06-21-2004, 12:46 AM   #72
bsurfin
Member
 
Registered: May 2004
Location: Kalispell Montana
Distribution: Ubuntu 18.04LTS
Posts: 143

Original Poster
Rep: Reputation: 16
Still no luck, Time to Flush Fedora all together yet ?
 
Old 06-21-2004, 02:21 AM   #73
Pete M
Member
 
Registered: Aug 2003
Location: UK
Distribution: Redhat 9 FC 3 SUSE 9.2 SUSE 9.3 Gentoo 2005.0 Debian Sid
Posts: 657

Rep: Reputation: 32
Jason

Over the weekend I loaded those files onto my setup using my LAN IP and they worked perfectly, named started without error and I used dig to test it, gave all the right answers, It still must be something to do with your chroot enviroment as I stated earlier this is something I have no knowledge of

As for Slack again never used it so I can't really advise

Pete
 
Old 06-21-2004, 07:59 AM   #74
bsurfin
Member
 
Registered: May 2004
Location: Kalispell Montana
Distribution: Ubuntu 18.04LTS
Posts: 143

Original Poster
Rep: Reputation: 16
I even have the book for fedora, they tell all about the chroot environment, but still don't work, it is not supposed to be any big deal.

Thanks for all the help, I'll load Slack later in July, I'm out of time right now, I'll be busy for the next few weeks...
 
  


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
dns trouble isales Linux - Networking 6 10-22-2004 02:31 AM
Trouble with DNS technician Linux - Networking 17 08-02-2004 03:46 PM
Trouble setting up DNS on Mandrake 9.1 wildscribe Linux - Networking 1 11-17-2003 01:49 PM
DNS trouble pmh6310 Linux - Newbie 2 06-12-2003 12:13 PM
DNS trouble MojoLuv Linux - Networking 2 05-06-2003 08:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 08:56 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