Hi,
Anyone know of any easy to follow instructions of setting up a DNS server under FC? I'm doing it all from the terminal, so no fancy GUI interface stuff allowed ;-)
TTFN
Paul
--On Monday, January 31, 2005 10:55 PM +0000 Paul paul@all-the-johnsons.co.uk wrote:
Anyone know of any easy to follow instructions of setting up a DNS server under FC? I'm doing it all from the terminal, so no fancy GUI interface stuff allowed ;-)
Depends on what it will be used for. A simple caching name server can be made with "yum install caching-nameserver". This package is a set of BIND config files with a prereq on BIND, so it should set it all up for you. I set my first server up that way and learned everything else by editing those files.
On Mon, 2005-01-31 at 17:55, Paul wrote:
Hi,
Anyone know of any easy to follow instructions of setting up a DNS server under FC? I'm doing it all from the terminal, so no fancy GUI interface stuff allowed ;-)
TTFN
Paul
Start off by installing the 'caching-nameserver' package - this configures a working caching-only nameserver (a nameserver that is not authoritative for any zone, but which queries other nameservers and caches responses). If you need more than a caching-only nameserver, read the documentation in /usr/share/doc/bind-*/arm/Bv9ARM.html . If you can get access to a graphics terminal, using the 'system-config-bind' utility provides a GUI, with a facility to import /etc/hosts files. Also for any beginner to DNS needing to get into serious DNS configuration, the book 'DNS and BIND', Abitz & Liu, 2nd. Ed, by O'Reilly is a must. Let me know if you have any issues. Regards, Jason Vas Dias BIND maintainer, Red Hat.
Am Montag, den 31.01.2005, 18:18 -0500 schrieb Jason Vas Dias:
On Mon, 2005-01-31 at 17:55, Paul wrote:
Anyone know of any easy to follow instructions of setting up a DNS server under FC? I'm doing it all from the terminal, so no fancy GUI interface stuff allowed ;-) [...]
If you can get access to a graphics terminal, using the 'system-config-bind' utility provides a GUI, with a facility to import /etc/hosts files.
I suppose, system-config-bind is currently not a good starting point. The included help file is out of sync with the current program version. So, for a starter is hard to figure out what has to be done.
I couldn't manage to let the program write a configuration file at all. It always crashes with a python traceback when I instruct it to save the configuration (I've to figure out weather I entered something wrong into one of the entry fields or the program crashes by itself - so no bugzilla entry yet).
Also for any beginner to DNS needing to get into serious DNS configuration, the book 'DNS and BIND', Abitz & Liu, 2nd. Ed, by O'Reilly is a must.
The book should be a better starting point. Pick up one of the examples and modify it acdcording to the specific need. If desired I can send you a template for the requirred files.
Peter
On Wed, 2005-02-02 at 07:50, Peter Boy wrote:
Am Montag, den 31.01.2005, 18:18 -0500 schrieb Jason Vas Dias:
On Mon, 2005-01-31 at 17:55, Paul wrote:
Anyone know of any easy to follow instructions of setting up a DNS server under FC? I'm doing it all from the terminal, so no fancy GUI interface stuff allowed ;-) [...]
If you can get access to a graphics terminal, using the 'system-config-bind' utility provides a GUI, with a facility to import /etc/hosts files.
I suppose, system-config-bind is currently not a good starting point. The included help file is out of sync with the current program version. So, for a starter is hard to figure out what has to be done.
I couldn't manage to let the program write a configuration file at all. It always crashes with a python traceback when I instruct it to save the configuration (I've to figure out weather I entered something wrong into one of the entry fields or the program crashes by itself - so no bugzilla entry yet).
Yes, this is a known problem with system-config-bind < 4 .
Use the latest system-config-bind:
ftp://download.fedora.redhat.com/pub/fedora/linux/core/development/i386/Fedora/RPMS/system-config-bind-4.0.0-3.noarch.rpm
and you should have no problems.
Also for any beginner to DNS needing to get into serious DNS configuration, the book 'DNS and BIND', Abitz & Liu, 2nd. Ed, by O'Reilly is a must.
The book should be a better starting point. Pick up one of the examples and modify it acdcording to the specific need. If desired I can send you a template for the requirred files.
Peter
Am Mittwoch, den 02.02.2005, 11:35 -0500 schrieb Jason Vas Dias:
I couldn't manage to let the program write a configuration file at all. It always crashes with a python traceback when I instruct it to save the configuration (I've to figure out weather I entered something wrong into one of the entry fields or the program crashes by itself - so no bugzilla entry yet).
Yes, this is a known problem with system-config-bind < 4 .
Use the latest system-config-bind:
ftp://download.fedora.redhat.com/pub/fedora/linux/core/development/i386/Fedora/RPMS/system-config-bind-4.0.0-3.noarch.rpm
and you should have no problems.
I did that from the X64_86 tree (fully update Core 3 x86_64 system):
------------------------------------------------------------------- [root@shuttle fedora-updates]# rpm -U system-config- bind-4.0.0-3.noarch.rpm Warnung: /etc/pam.d/bindconf saved as /etc/pam.d/bindconf.rpmsave Warnung: /etc/security/console.apps/bindconf saved as /etc/security/console.apps /bindconf.rpmsave /var/tmp/rpm-tmp.13899: line 11: fg: no job control Fehler: %post(system-config-bind-4.0.0-3.noarch) scriptlet failed, exit status 1 -------------------------------------------------------------------
rpm -q reports both versions being installed (2.0.3-1 and 4.0.0-3) and system-config-bind doesn't even start anymore :-)
------------------------------------------------------------------- [pb@shuttle ~]$ system-config-bind Traceback (most recent call last): File "/usr/sbin/system-config-bind", line 37, in ? from BIND import * File "/usr/share/system-config-bind/BIND.py", line 12, in ? import Lookup File "/usr/share/system-config-bind/Lookup.py", line 16, in ? from Hosts import Hosts File "/usr/share/system-config-bind/Hosts.py", line 12, in ? from Conf import * ImportError: No module named Conf -------------------------------------------------------------------
Is version 4 meant to work with stock Core 3?
Peter