LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-18-2004, 02:07 PM   #1
Digital_Err0r
Member
 
Registered: Mar 2004
Posts: 80

Rep: Reputation: 15
bind and dns?


hey,

just set up a little home web dev server.... is ther anyway i can get a domain working with it? i heard i would have to use bind... then use my IP address as the dns server in the domains config. would this work? and are there any tutorials on it?

thanks
 
Old 03-18-2004, 02:14 PM   #2
jpbarto
Senior Member
 
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251

Rep: Reputation: 45
I found a tutorial, its not the best but you should be able to muddle through it.
http://www.soapi.com/howto/bind.htm

And yes, you can setup bind on your machine, then just tell your PC and other PCs on your network to use yours as their DNS.
 
Old 03-18-2004, 02:22 PM   #3
Digital_Err0r
Member
 
Registered: Mar 2004
Posts: 80

Original Poster
Rep: Reputation: 15
wel its only gona be used for web dev, so does the other machines have to be involved? ( btw my home network is WiFi 54G )
 
Old 03-18-2004, 03:22 PM   #4
jpbarto
Senior Member
 
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251

Rep: Reputation: 45
no they don't have to be involved, just any machine that you want to be able to translate one of your personalized DNS names will have to be told. However if its just your PC and you want to be able to type in 'www.jimmysmachine.com' and have it point back to your localhost's webserver then you don't even need DNS, you can just edit either your /etc/hosts or your /etc/resolv files.

Your machine will (depending on its config) check these files for hostnames->IPs first before going to DNS.
 
Old 03-18-2004, 03:32 PM   #5
Digital_Err0r
Member
 
Registered: Mar 2004
Posts: 80

Original Poster
Rep: Reputation: 15
u mean if i just had 'www.digitalerrorsmachine.com' pointed to my ip '12.34.56.78', it would just go to the webserver ( port 80 already done on network )??

would that work with ftp.digitalerrorsmachine.com and mail.digit..... etc? or would i need dns for that?

thanks
 
Old 03-18-2004, 05:23 PM   #6
jpbarto
Senior Member
 
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251

Rep: Reputation: 45
Yes it'll work for all.
An example. To add a fake web address for my machine I did the following:
Edit /etc/hosts
It contained the line
127.0.0.1 localhost.localdomain localhost
I added the line
192.168.0.131 www.testresolve.com metatron

Where the IP is my network IP, the URL is something I made up, and metatron is my machine's hostname. Same thing should work for ftp.pickaname.org, etc.

Hope that helps,
jpbarto
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dns (bind) njdownes Linux - Networking 3 02-28-2005 09:15 AM
DNS Bind TKS Linux - Networking 6 05-03-2004 12:30 AM
DNS/Bind Help yoddy Linux - Newbie 2 06-23-2003 03:52 PM
DNS and Bind pharpe Linux - Networking 3 01-15-2003 02:54 PM
DNS and BIND dilberim82 Linux - General 10 07-13-2001 10:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration