|
Linux Training Community :: Ubuntu |
|
|
|
|
|
Subject :Hi i'm new to dns on ubuntu..
2010-03-09 15:13:49
|
|
|
peacengell |
|
|
|
Joined: 2010-03-09 14:05:42
Posts: 15
Location: |
|
|
Hi everyone i'm new to compile , install and configure dns on ubuntu
i was looking for a good details dns setup (compile ,inatall and configure )(primary, secondary,and caching server) on ubuntu
i need some help please thanks; |
IP Logged
|
|
|
|
|
|
|
Subject :Re:Hi i'm new to dns on ubuntu..
2010-03-09 15:24:27
|
|
|
MikeW |
|
Rookery Moderator |
|
Joined: 2009-06-03 13:47:46
Posts: 80
Location: |
|
|
So let's get some info so we can help. Are you going to compile bind? Or are you going to use the Ubuntu repository?
Are you setting up on a dedicated server, a VPS or home server?
Are you using Ubuntu 9.10 for the server?
What else are you going to put on the server? |
IP Logged
|
|
|
|
|
|
|
Subject :Re:Hi i'm new to dns on ubuntu..
2010-03-09 15:52:01
|
|
|
|
|
|
|
|
Subject :Re:Hi i'm new to dns on ubuntu..
2010-03-10 02:57:59
|
|
|
peacengell |
|
|
|
Joined: 2010-03-09 14:05:42
Posts: 15
Location: |
|
|
hi i'm using ubuntu 9.10 destop edition i have install everythings on it and try to compile latest bind-9.7.0 i have download it from isc.org
how to compile ,install and configure this dns i have try 2 weeks reading books and try to find a tut no success
thanks for the reply hope i be able to get it this time with your help and others as well
i understand how it's work but one thing i can't configure it cause it first time compiling bind
i did compile my kernel and openssl
so i would like to compile it with openssl as well
thanks very much
need more info i'm ready to post log or screen shot of what i'm doing
thanks again |
IP Logged
|
|
|
|
|
|
|
Subject :Re:Hi i'm new to dns on ubuntu..
2010-03-10 08:31:22
|
|
|
MikeW |
|
Rookery Moderator |
|
Joined: 2009-06-03 13:47:46
Posts: 80
Location: |
|
|
I set up an Ubuntu 9.10 server and followed these steps after downloading the bind 9.7. Note that OpenSSL was installed and gcc was installed. However, the install failed because of a bug. Now looking into that the isc site does not list Ubuntu as a distribution that it has been compiled on. Also research showed no solutions initially to resolving the bug. Therefore at this point some solution to the bug is the first issue...still researching.
mv bind* /usr/rc
tar zxvf bind*
cd /usr/src/bind-9.7.0
apt-get install gcc
./configure
checking for OpenSSL library... configure: error: OpenSSL was not found in any of /usr /usr/local /usr/local/ssl /usr/pkg /usr/sfw; use --with-openssl=/path
If you don't want OpenSSL, use --without-openssl
apt-get install openssl
./configure --with-openssl=/usr/bin/openssl
checking for OpenSSL library... configure: error: "/usr/bin/openssl/include/openssl/opensslv.h" not found
2550. [bug] Check --with-openssl=<path> finds <openssl/opensslv.h>.
[RT #19343] |
IP Logged
|
|
|
|
|
|
|
Subject :Re:Hi i'm new to dns on ubuntu..
2010-03-10 08:45:15
|
|
|
MikeW |
|
Rookery Moderator |
|
Joined: 2009-06-03 13:47:46
Posts: 80
Location: |
|
|
Apparently Ubuntu 9.10 install bind 9.6.1 by default while the new version of Ubuntu will have version 9.7 as the default.
The default version for bind installs with a simple:
apt-get install bind9 |
IP Logged
|
|
|
|
|
|
|
Subject :Re:Hi i'm new to dns on ubuntu..
2010-03-10 14:28:15
|
|
|
peacengell |
|
|
|
Joined: 2010-03-09 14:05:42
Posts: 15
Location: |
|
|
Ok thanks mike i did install it and for the openssl issue i did a ln -f to the path it was looking from the dir it install openssl to the dir bind was looking for it
now what next i want is how to configure from here
what file need to create and what file need to modify
where to find them
well if i get the name i will find them
with this command when i'm in /#find . -name "filename" -print
my realy issue is how to configure from here what need to be done to set it up thanks again guys for your help really appreciate it thanks alot Mike |
IP Logged
|
|
|
|
|
|
|
Subject :Re:Hi i'm new to dns on ubuntu..
2010-03-10 14:31:19
|
|
|
MikeW |
|
Rookery Moderator |
|
Joined: 2009-06-03 13:47:46
Posts: 80
Location: |
|
|
How are you going to use this...business, home, etc.
The reason I ask is for security options that you may have to put in place as well. |
IP Logged
|
|
|
|
|
|
|
Subject :Re:Hi i'm new to dns on ubuntu..
2010-03-10 14:38:32
|
|
|
MikeW |
|
Rookery Moderator |
|
Joined: 2009-06-03 13:47:46
Posts: 80
Location: |
|
|
Once bind is installed look in the /etc/bind directory for the files you will need to configure. With Ubuntu the files are all broken into smaller files so you will need to edit multiple files here.
/etc/bind/named.conf
This file has three includes: these are connections to other files.
include "/etc/bind/named.conf.options";
include "/etc/bind/named.conf.local";
include "/etc/bind/named.conf.default-zones";
You will need to create zone files for each domain, both a forward and a reverse zone. |
IP Logged
|
|
|
|
|
|
|
Subject :Re:Hi i'm new to dns on ubuntu..
2010-03-10 16:04:59
|
|
|
peacengell |
|
|
|
Joined: 2010-03-09 14:05:42
Posts: 15
Location: |
|
|
sorry for editing i was getting error when posting
ok i use this option ./configure --prefix=/opt/bind9 --with-openssl=yes --sysconfdir=/etc/bind --with-randomdev=/dev/urandom
to compile the bind-9.7.0 |
IP Logged
|
Last Edited On: 2010-03-10 16:16:50 By peacengell for the Reason |
|
|
|
|
|
|
Subject :Re:Hi i'm new to dns on ubuntu..
2010-03-10 16:21:19
|
|
|
peacengell |
|
|
|
Joined: 2010-03-09 14:05:42
Posts: 15
Location: |
|
|
why i'm getting this error
Forbidden
You don't have permission to access /forum/view-post/forum-1-ubuntu/topic-91-hi-im-new-to-dns-on-ubuntu/post-357/mode-edit on this server.
Unknown Server at beginlinux.com Port 80 |
IP Logged
|
Last Edited On: 2010-03-10 16:25:38 By peacengell for the Reason file did't attache |
|
|
|
|
|
|
Subject :Re:Hi i'm new to dns on ubuntu..
2010-03-10 16:29:19
|
|
|
peacengell |
|
|
|
Joined: 2010-03-09 14:05:42
Posts: 15
Location: |
|
|
i can't post my logs here what happening
is it too big i can't even attach the file
i need to show you mike
thanks |
IP Logged
|
|
|
|
|
|
|
Subject :Re:Hi i'm new to dns on ubuntu..
2010-03-11 02:54:05
|
|
|
peacengell |
|
|
|
Joined: 2010-03-09 14:05:42
Posts: 15
Location: |
|
|
ash.bashrc bind/ blkid.conf bogofilter.cf brltty/
bash_completion bind.keys blkid.tab bonobo-activation/ brltty.conf
bash_completion.d/ bindresvport.blacklist bluetooth/ brlapi.key byobu/ |
IP Logged
|
|
|
|
|
|
|
Subject :Re:Hi i'm new to dns on ubuntu..
2010-03-15 15:06:54
|
|
|
peacengell |
|
|
|
Joined: 2010-03-09 14:05:42
Posts: 15
Location: |
|
|
Hi guys nobody around haven t install bind9.7.0 by compiling it on ubuntu with openssl
and set it up as a caching or primary or slave server
no body can help me to setup this bind as a newbiee
i need a full tutorials please ?
i don't know where to look and where to get help like this
please please ......
thanks any way....
i did try but it's hard for the fistime guys i really try it hard ...
might be i'm missing something....
please |
IP Logged
|
|
|
|
|
|
|
Subject :Re:Hi i'm new to dns on ubuntu..
2010-03-15 15:22:45
|
|
|
joe |
|
Hatchling |
|
Joined: 2009-05-28 06:21:09
Posts: 28
Location: |
|
|
I have worked on DNS Severs, but I have not compiled DNS and SSL, why not just install it from the repository?
Just wondering .... |
IP Logged
|
|
|
|
|
|
|
Subject :Re:Hi i'm new to dns on ubuntu..
2010-03-15 15:37:31
|
|
|
joe |
|
Hatchling |
|
Joined: 2009-05-28 06:21:09
Posts: 28
Location: |
|
|
What are you looking for anyway...what specifically is the problem? |
IP Logged
|
|
|
|
|
|
|
Subject :Re:Hi i'm new to dns on ubuntu..
2010-03-16 05:34:44
|
|
|
peacengell |
|
|
|
Joined: 2010-03-09 14:05:42
Posts: 15
Location: |
|
|
hi joe thanks for reply
i'm trying to do is i want to be able to install apps by
compilling them and configuring from start to finish let
say caching name server
well for learning purpose i would like to learn how it's done
i can install from repository?that's right)But i would like to compile
and make a tutorials for other's who is in dificulty...
i would like to use this server as my home server
and provide most of the web apps services for my personal learning purpose i won't give up but will try to find a way
i need some help form you guys who been trought this here
thanks |
IP Logged
|
|
|
|
|
|
|
Subject :Re:Hi i'm new to dns on ubuntu..
2010-03-16 18:35:35
|
|
|
joe |
|
Hatchling |
|
Joined: 2009-05-28 06:21:09
Posts: 28
Location: |
|
|
Well...I think the problem is that we are not sure how to respond as you really are not asking a specific question....no one is sure where to start....
Do you need help with forward zones, reverse zones, DNS security...you see it is hard to start as from your posts it does not even look like you have it compiled.
I guess if I threw in my 2 cents worth I would say ...ask a specific question and you are more likely to get an answer...just my opinion. |
IP Logged
|
|
|
|
|
|
|
Subject :Re:Hi i'm new to dns on ubuntu..
2010-03-17 05:29:02
|
|
|
peacengell |
|
|
|
Joined: 2010-03-09 14:05:42
Posts: 15
Location: |
|
|
Ok joe now let start again
My question is how to compile,install and configure dns 9-7.0 on Ubuntu
9.10 please let say i don't have any experience on how to compile it but i did compile it and can't post the log here it's too big
i was getting error when posting them here
ok do one thing joe i give you my mail add peacengellatgmail.com
mail me and i will send you all the logs and how i did compile it.
then might be you will understand
if not by mail
just give me instructions how to compile,install and configure as a caching name server ...
please show me your way maybe what i'm doing is wrong ???
please
thanks again joe i really like people be frankly to me
tell me what i'm doing is wrong ...
thanks |
IP Logged
|
|
|
|
|
|
|
Subject :Re:Hi i'm new to dns on ubuntu..
2010-03-18 07:27:52
|
|
|
joe |
|
Hatchling |
|
Joined: 2009-05-28 06:21:09
Posts: 28
Location: |
|
|
I am unable to get started on this until Saturday or Sunday when I can set up a server...but I will get back to you...as I am interested in looking at DNS from a new perspective. |
IP Logged
|
|
|
|
|