Jump to content

Dns How To Ubuntu 10.04 Desktop


xhacks

Recommended Posts

hi im fairly new to linux and want to run a complete server off of ubuntu 10.04 desktop as it is also my desktop computer

how do i do this as i have tried to install bind9 by

"sudo apt-get install bind9"

and it isnt working right

plz help

Link to comment
Share on other sites

Hi Xhacks,

Follow this tutorial on Ubuntu forums, should be straight forward.

http://ubuntuforums.org/showthread.php?t=236093

By the way you are on right track.

Link to comment
Share on other sites

yah i went there b4 and it still isnt working any thing else i should try?

thats weird, what error are you getting?

Edited by Infiltrator
Link to comment
Share on other sites

craig@craig-desktop:~$ sudo apt-get install bind9

Reading package lists... Done

Building dependency tree

Reading state information... Done

The following packages were automatically installed and are no longer required:

linux-headers-2.6.31-22 xulrunner-1.9.1 libicu40 linux-headers-2.6.28-11

libindicate-gtk1 latex-xft-fonts libdns53 libcompress-bzip2-perl

mysql-common librasqal1 python-gtksourceview libisccc50 binutils-static

libopal3.6.4 redland-utils libgssdp-1.0-1 liblwres50

linux-headers-2.6.28-11-generic libbind9-50 libpt2.6.4-plugins libgdata5

libpt2.6.4 libmysqlclient16 libisccfg50 libgupnp-1.0-2 libxklavier15 libpq5

libindicate3 python-nautilusburn libisc50 gnome-blackjack raptor-utils

libntfs-3g54 linux-headers-2.6.31-22-generic

Use 'apt-get autoremove' to remove them.

The following extra packages will be installed:

bind9utils

Suggested packages:

bind9-doc resolvconf

The following NEW packages will be installed:

bind9 bind9utils

0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.

Need to get 433kB of archives.

After this operation, 1,368kB of additional disk space will be used.

Do you want to continue [Y/n]? y

Err http://us.archive.ubuntu.com/ubuntu/ lucid/main bind9utils 1:9.7.0.dfsg.P1-1

Could not resolve 'us.archive.ubuntu.com'

Err http://us.archive.ubuntu.com/ubuntu/ lucid/main bind9 1:9.7.0.dfsg.P1-1

Could not resolve 'us.archive.ubuntu.com'

Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/m...g.P1-1_i386.deb Could not resolve 'us.archive.ubuntu.com'

Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/m...g.P1-1_i386.deb Could not resolve 'us.archive.ubuntu.com'

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

that is the terminal printout

Link to comment
Share on other sites

Is your internet working? Make sure bind is indeed running,

sudo /etc/init.d/bind9 restart

Edit: Bind should now be installed, the error you got could be due to Bind not running or the us.archive.ubuntu.com being down.

I found this thread in the Ubuntu forums

http://ubuntuforums.org/showthread.php?t=359300

Edited by Infiltrator
Link to comment
Share on other sites

No problems. Glad you got it sorted!

Link to comment
Share on other sites

In order to add new dns records, you will need to edit the named.config file

sudo vi /etc/bind/named.conf

This threads can walk you through that process a lot easier than I could.

http://ubuntuforums.org/showthread.php?t=236093

http://ulyssesonline.com/2007/11/07/how-to...rver-in-ubuntu/

Edit: And if you watch, the last episode of Hak5, you will see that Darren demonstrates how to open a text file in a graphic user interface.

Edited by Infiltrator
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...