Re: Help needed on server managment
- From: The Natural Philosopher <a@xxx>
- Date: Tue, 29 Jan 2008 16:54:08 +0000
katyusha wrote:
hello!! , can anyone please help me with setting of a DNS server on
a debian distro ?
I need to host a server and a client on the same system ( only for a
presentation ) for a trial
run of amanda backup recovery tool . how can I get the nameserver
return something like
192.168.1.1:80 when queried with www.demoserver.com ....
please Help!!! configuring Bind9 has
become a real pain for me ...
thank you,
milon@xxxxxxxxx
Assuming BIND is riunning..
add something like:-
-------------------------
zone "demoserver.com" {
type master;
file "/etc/bind/db.demoserver.com";
};
------------------------
to /etc/bind/named.conf.
The file itself should looks something like this
db.demoserver.com:
--------------------
$TTL 604800
@ IN SOA demoserver.com. root.localhost. (
1 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS localhost.
www.demoserver.com. IN A 192.168.1.1
---------------------------------------------
That's the minimum.
Restart BIND.
Good luck.
.
- References:
- Help needed on server managment
- From: katyusha
- Help needed on server managment
- Prev by Date: Re: Help needed on server managment
- Next by Date: Re: UGH, TOO MUCH SPAM
- Previous by thread: Re: Help needed on server managment
- Index(es):
Relevant Pages
|