LinuxQuestions.org
Visit Jeremy's Blog.
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 05-22-2005, 01:18 PM   #1
EagerWolf
LQ Newbie
 
Registered: May 2005
Location: Slovenia
Posts: 2

Rep: Reputation: 0
Slackware domain setup


Well... I have got following problem:

I have got Linux server connected to internet over router (LinksSys WRT54G).

This is config file fow my new domain (exmple: mynewdomain.com)

$TTL 3D
@ IN SOA ns1.mynewdomain.com. root.mynewdomain.com. (
199802151 ; serial, todays date + todays
serial #
8H ; refresh, seconds
2H ; retry, seconds
4W ; expire, seconds
1D ) ; minimum, seconds
;
TXT "mynewdomain.com, your DNS consultants"
NS ns1 ; Inet Address of name server
MX 10 mail ; Primary Mail Exchanger

localhost A 127.0.0.1

gw A x.x.x.x (router�s IP)
TXT "The router"

ns A x.x.x.x (extrnal IP - global IP)
MX 10 mail
www CNAME ns1

mail A x.x.x.x (extrnal IP - global IP)
MX 10 mail

ftp A x.x.x.x (extrnal IP - global IP)
MX 10 mail





This is file 127.0.0 :
$TTL 3D
@ IN SOA ns1.mynewdomain.com. root.mynewdomain.com. (
1 ; Serial
8H ; Refresh
2H ; Retry
4W ; Expire
1D) ; Minimum TTL
NS ns1.mynewdomain.com.
1 PTR localhost.




And this is named.conf:
options {
directory "/var/named";

// Uncommenting this might help if you have to go through a
// firewall and things are not working out. But you probably
// need to talk to your firewall admin.

// query-source port 53;
};

controls {
inet 127.0.0.1 allow { localhost; } keys { rndc_key; };
};

key "rndc_key" {
algorithm hmac-md5;
secret
"c3Ryb25nIGVub3VnaCBmb3IgYSBtYW4gYnV0IG1hZGUgZm9yIGEgd29tYW4K";
};

zone "." {
type hint;
file "root.hints";
};

zone "0.0.127.in-addr.arpa" {
type master;
file "pz/127.0.0";
};

zone "mynewdomain.com" {
type master;
notify no;
file "pz/mynewdomain.com";
};


When using command dig mynedomain.com axfr I get answer:
; > DiG 9.1.2 > mojadomena.com axfr
;; global options: printcmd
; Transfer failed.

What should I do?

Thanks!
 
Old 05-23-2005, 07:40 AM   #2
scowles
Member
 
Registered: Sep 2004
Location: Texas, USA
Distribution: Fedora
Posts: 620

Rep: Reputation: 31
Given the command you posted (dig mydomain.com axfr), the error message (Transfer failed) is usually a "permission denied". Meaning, you should specify which systems are allowed to issue a "axfr" using the "allow-transfer" option in your named.conf file. Example from my DNS server.

Code:
// Define any "internal view" dns secondaries that can pull copies of
// zones. Use "none" if you only have one dns server.
acl "xfer-int" {
        192.168.9.3;
};

...

// Load the internal mydomain.com zone
zone "mydomain.com" in {
        type master;                            // Zone is a master
        notify yes;                             // Send notifies?
        allow-transfer { xfer-int; };           // Only allow transfers from secondaries
        file "int/db.mydomain";                 // Load zone file
};
 
Old 05-23-2005, 09:36 AM   #3
EagerWolf
LQ Newbie
 
Registered: May 2005
Location: Slovenia
Posts: 2

Original Poster
Rep: Reputation: 0
no good ... ... demm .. sometimes I wish Linux was more userfriendly ...
 
  


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
Domain Name in Network Setup adds2one Slackware - Installation 2 11-24-2005 04:45 PM
Setup a Domain JROCK1980 Linux - Networking 3 03-04-2005 08:42 PM
popa3d domain setup SerfurJ Linux - Networking 1 01-20-2004 11:33 AM
9.2 setup Sharing with WinXP on Domain xscott Mandriva 3 01-02-2004 11:58 AM
Noobe Domain Controler Setup freezer Linux - Networking 10 12-09-2003 09:02 AM

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

All times are GMT -5. The time now is 09:28 PM.

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