Results 1 to 5 of 5
Hello, everyone! I am running Red Hat Linux with Apache, Mysql, and PHP. I installed BIND 8 DNS. The configuration looks like this:
$ttl 38400
kaitech.ca. IN SOA ns.kaitech.ca. nitech.gmail.com. ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 08-11-2005 #1Just Joined!
- Join Date
- Jun 2005
- Posts
- 4
DNS help!
Hello, everyone! I am running Red Hat Linux with Apache, Mysql, and PHP. I installed BIND 8 DNS. The configuration looks like this:
$ttl 38400
kaitech.ca. IN SOA ns.kaitech.ca. nitech.gmail.com. (
1123703562
10800
3600
604800
38400 )
kaitech.ca. IN A 192.168.0.100
localhost.kaitech.ca. IN A 192.168.0.100
mysql.kaitech.ca. IN A 192.168.0.100
www.kaitech.ca. IN CNAME kaitech.ca.
ns.kaitech.ca IN A 192.168.0.100
kaitech.ca. IN NS ns.kaitech.ca.
The DNS doesn't work for me. Do I have to register the domain, or I can create my own domain with BIND?
When I run nsloopup kaitech.ca, it shows this:
Server: 192.168.0.1
Address: 192.168.0.1#53
** server can't find ns.kaitech.ca: NXDOMAIN
Thanks for any help!
- 08-11-2005 #2
After the intro line (in the brackets with all the timeouts and whatever) and before the first machine ID line, you should have a couple of entries that, on your system, would make the file look something a bit like this:
------
...
38400)
NS localhost.kaitech.ca.
MX 10 localhost.kaitech.ca.
kaitech.ca. IN A 192.168.0.100
...
-------
and make sure your zone entry in you named.conf file looks a bit like this:
zone "kaitech.ca" {
type master;
notify no;
file "..whatever filename your zone uses..";
};
By the way, I dont recommend you call one of your machines 'localhost.<domainname>' as it might get confused with 'localhost' when the domain name is not used - fine if you've only a single machine, but troublesome if you've a small lan.
Cheers.
- 08-12-2005 #3Linux Newbie
- Join Date
- Apr 2003
- Location
- Pontypridd, Wales
- Posts
- 104
If your only using the name internally (as it looks like you are) then no, you can use whatever name you like.Do I have to register the domain, or I can create my own domain with BIND
If however you need a domain on the internet, you need to register your domain, and if you want to use your own DNS you need to provide them with 2 permenent DNS server addresses for that domain.
I personally use the services of everydns.net\"One World, One Web, One Program.\" -- Advertisement for Internet Explorer.
\"Ein Volk, Ein Reich, Ein Fuehrer.\" -- Adolf Hitler.
- 08-12-2005 #4When I was still on dialup (many long years ago now...) I used a domain name with no top level bit (no .com, .org, .net, .co.uk, etc.) on the end. There was never any chance of clashing my internal domain with a real one then, and any mistaken lookups to the real nameservers on the internet were guaranteed to fail. But I needed that behaviour with BIND8 on RH7.1/7.2!
Originally Posted by nomar
- 08-13-2005 #5Linux Newbie
- Join Date
- Apr 2003
- Location
- Pontypridd, Wales
- Posts
- 104
What are you trying to do?
\"One World, One Web, One Program.\" -- Advertisement for Internet Explorer.
\"Ein Volk, Ein Reich, Ein Fuehrer.\" -- Adolf Hitler.


Reply With Quote
