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
 
Reply to this topicStart new topic
> Configure A Domain With A Dynamic Ip
.:Tom:.
post Aug 4 2003, 02:46 PM
Post #1


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.
Go to the top of the page
 
+Quote Post
Joey
post Aug 4 2003, 03:36 PM
Post #2


LinuxHelp Admin
*******

Group: Admin
Posts: 1,096
Joined: 18-September 02
Member No.: 1



You would create CNAME's in the zone file for yourdomain.com

www IN CNAME mydomain.sytes.net.
mail IN CNAME mydomain.sytes.net.
ftp IN CNAME mydomain.sytes.net.

and so on.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 16th December 2017 - 12:13 AM