Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now

.:Tom:.
Posted on: Aug 4 2003, 02:46 PM


Whats this Lie-nix Thing?
*

Group: Members
Posts: 1
Joined: 4-August 03
Member No.: 1,197


Hi! Sorry for my language. sad.gif In advance! biggrin.gif

This is my situation:
I have a DSL connection with a dynamic IP and I want to host na www, mail, ftp etc server. I already made an account on www.no-ip.com and installed the daemon. It works fine, but not as I want it tongue.gif .

Let's say, that no-ip translates the IP in mydomain.sytes.net, wich is my Slack9 server (called 'slak'). I would like to run a little domain on my own, that looks like this:

- www.mydomain... on slak
- ftp.mydomain... on slak
- whatever.mydomain... on slak

See the point? mydomain.sytes.net points to slak. But how to configure BIND to reslove www.mydomain.sytes.net to point to the same machine?

Is there someone familiar with DNS, that can help me out? I read the DNS-howto, messed around with config files... and nothing worked.

Here are the configs I worte:

#### HOSTNAME ####
slak.mydomain.sytes.net


#### hosts ####
127.0.0.1 localhost
10.10.10.1 slak.mydomain.sytes.net lisa
10.10.10.2 some.mydomain.sytes.net lana

### resolv.conf ####
domain mydomain.sytes.net
nameserver 127.0.0.1
nameserver 193.189.160.11
nameserver 193.189.160.12

### named.conf ####
options {
directory "/var/named";
// query-source address * port 53;
};

zone "." IN {
type hint;
file "mydns/root.servers";
};

zone "mydomain.sytes.net" IN {
type master;
notify no;
file "mydns/mydomain.sytes.net";
};

zone "0.0.127.in-addr.arpa" IN {
type master;
file "mydns/127.0.0";
allow-update { none; };
};

### mydomain.sytes.net ###
$TTL 3D
@ IN SOA mydomain.sytes.net. my.email.com. (
2003080400 ; serial
8H ; refresh
2H ; retry
4W ; expire
1D ; minimum )
NS mydomain.sytes.net ; inet addr of nameserver
localhost A 127.0.0.1
www A @
ftp A @
some A 10.10.10.2

### 127.0.0 ###
$TTL 3D
@ IN SOA mydomain.sytes.net. my.email.com. (
2003080400 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 ) ; Minimum
IN NS mydomain.sytes.net.
1 IN PTR localhost.
  Forum: Technical Support · Post Preview: #4003 · Replies: 1 · Views: 3,564


New Posts  New Replies
No New Posts  No New Replies
Hot topic  Hot Topic (New)
No new  Hot Topic (No New)
Poll  Poll (New)
No new votes  Poll (No New)
Closed  Locked Topic
Moved  Moved Topic
 

RSS Lo-Fi Version Time is now: 17th October 2017 - 03:37 PM