DNS Configuration – Fedora Core 8

NAMED.CONF
Example of /var/named/chroot/named/etc/named.conf file:
===================================================
options {
listen-on port 53 { 127.0.0.1;192.168.0.3; };
listen-on-v6 port 53 { ::1; };
directory “/var/named”;
dump-file “/var/named/data/cache_dump.db”;
statistics-file “/var/named/data/named_stats.txt”;
memstatistics-file “/var/named/data/named_mem_stats.txt”;
allow-query { localhost; };
recursion yes;
};
logging {
channel default_debug {
file “data/named.run”;
severity dynamic;
};
};
zone “.” IN {
type hint;
file “named.ca”;
};
// zone “localhost” IN {
// [...]

Linux Tutorial – Fedora Core 8

HowtoForge is a very good source of information about open source.
Note Apache in Fedora Core 8 does not allow the use of source IP Address in accessing the hosted site if mod_security has been installed. Domain name must be properly configured.
Example:
http://localhost will display the homepage
http://127.0.0.1 [...]