Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi well im running into problems making a DNS server. I am trying to run 2 domains off 1 ip, well i duno where my problem is. But here is my config files.
---------------
named.conf
---------------
options {
directory "/var/named";
query-source address * port 53;
};
//
// a caching only nameserver config
//
zone "." IN {
type hint;
file "named.ca";
};
zone "localhost" IN {
type master;
file "localhost.zone";
allow-update { none; };
};
zone "0.0.127.in-addr.arpa" IN {
type master;
file "named.local";
allow-update { none; };
};
zone "dilluted.org" {
type master;
file "dilluted.org";
};
{
---------------
dilluted.org
---------------
$ttl 38400
dilluted.org. IN SOA ns.dilluted.org. oosupermanoo@cableone.net. (
1027094177
10800
3600
604800
38400 )
dilluted.org. IN NS ns.dilluted.org.
dilluted.org. IN A my ip
i have the rest of the files also if you need to see those. NS. DILLUTD.ORG works but when you go to either dilluted.org or infliction.net neither one of them work. I have also set up the VHOST in Apache. Thank you.
Flaw1EsS
$TTL 3D
@ IN SOA mydomain. hostmaster.mydomain. (
200207181 ; serial, todays date + todays serial #
8H ; refresh, seconds
2H ; retry, seconds
4W ; expire, seconds
1D ) ; minimum, seconds
;
NS ns ; Inet Address of name server
MX 10 mail.mydomain. ; Primary Mail Exchanger
;
localhost A 127.0.0.1
mydomain. A xxx.xxx.xxx.xxx
ns CNAME mydomain.
mail CNAME mydomain.
www CNAME mydomain.
ftp CNAME mydomain.
For your second domain you need another entry in named.conf and new zone file (can be exactly the same as the first one, with only a different domain).
Aug 29 11:32:39 expo named[523]: loading configuration from '/etc/named.conf'
Aug 29 11:32:39 expo named[523]: no IPv6 interfaces found
Aug 29 11:32:41 expo named[4323]: starting BIND 9.2.2
Aug 29 11:32:41 expo named[4323]: using 1 CPU
Aug 29 11:32:41 expo named[4323]: loading configuration from '/etc/named.conf'
Aug 29 11:32:41 expo named[4323]: no IPv6 interfaces found
Aug 29 11:32:41 expo named[4323]: listening on IPv4 interface lo, 127.0.0.1#53
Aug 29 11:32:41 expo named[4323]: listening on IPv4 interface eth0, 192.168.0.5#
53
Aug 29 11:32:41 expo named[4323]: couldn't add command channel 127.0.0.1#953: ad
dress in use
Aug 29 11:32:41 expo named[4323]: zone 0.0.127.in-addr.arpa/IN: loaded serial 19
97022700
Aug 29 11:32:41 expo named[4323]: zone localhost/IN: loaded serial 42
Aug 29 11:32:41 expo named[4323]: running
this is in the message log but it still not working....?
It looks that it works. To ask your own server use 'dig @localhost yourdomain' (from server). Try also with something like 'ns.yourdomain', ftp.yourdomain (if you have it in the zone file). The answers should be similar - have data in 'ANSWER' section.
no i think it could be with the registrar....i think it has to be because everything is configured correctly on my box. Could you think of anything else?
Probably registration problems. Try one thing: set your DNS Ip as one of your machines' primary DNS. Everything should work nicely. If it does, ask your registrar.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.