LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-09-2003, 05:26 PM   #1
jmono
Member
 
Registered: Feb 2003
Location: Colombia
Distribution: Mandrake
Posts: 52

Rep: Reputation: 15
Dns


maybe is a newbie question but i donīt know

how can i set up a DNS for my ip adress??
 
Old 05-09-2003, 05:29 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
You will need to find (then pay) a registrar to register your chosen domain then get them to alter the DNS record to point to your ip.

Alternatively - if you want a free subdomain try one of these:
http://www.myserver.org/
http://www.dns2go.com/
http://www.no-ip.com/

There are plenty more but these offer good free services.
 
Old 05-09-2003, 06:10 PM   #3
jmono
Member
 
Registered: Feb 2003
Location: Colombia
Distribution: Mandrake
Posts: 52

Original Poster
Rep: Reputation: 15
well... thanks
but i need a DNS for a private IP
i donīt want to pay!!
i need to enter to my localhost using some adress
 
Old 05-09-2003, 06:13 PM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
I thik you better look into using hosts files or setting up a DNS server. If you only have a few PCs it would be much simpler to use hosts files and just amend them on each PC.
 
Old 05-09-2003, 06:14 PM   #5
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
PS - one of the free services would work but you would need to be connected to the net in order to resolve the ip.
 
Old 05-09-2003, 06:32 PM   #6
jmono
Member
 
Registered: Feb 2003
Location: Colombia
Distribution: Mandrake
Posts: 52

Original Poster
Rep: Reputation: 15
the ip adress of my eth0 is 192.168.0.1
and i need to access to it through a domain like www.mono.com

can i do that???
 
Old 05-09-2003, 06:38 PM   #7
Satriani
Member
 
Registered: Mar 2003
Location: The Netherlands
Distribution: Red Hat 7.3, Red Hat 9, Solaris8, Slackware 10, Slax on USB, AIX, FreeBSD, WinXP, AIX, Ubuntu
Posts: 418

Rep: Reputation: 30
Do you just want it to be accessible through your private network, or do you want the entire world to see the www.mono.com ???

If the first case: setup a DNS server or edit /etc/hosts will do the trick,
if the second is the case: you will need to have two (three) things:
A public IP address, and a domainname registrar. (and maybe a firewall with NATTING, (translates your external (public) Ip adress to your internal one: 192.168.0.1)

Hope this makes it clear....
 
Old 05-09-2003, 06:38 PM   #8
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
"Officially" you would need to register www.mono.com and have a registrar point www.mono.com to your ip address but if you place:
Code:
192.168.0.1        www.mono.com
in the hosts file of every computer that would need access to www.mono.com then you don't need to pay a penny.

If you have a large network (100+ PCs) you would probably be better off installing a DNS server to save on maintainance.
 
Old 05-09-2003, 06:43 PM   #9
jmono
Member
 
Registered: Feb 2003
Location: Colombia
Distribution: Mandrake
Posts: 52

Original Poster
Rep: Reputation: 15
it is a private network
i will take a look to the /etc/hosts
 
Old 05-09-2003, 06:45 PM   #10
jmono
Member
 
Registered: Feb 2003
Location: Colombia
Distribution: Mandrake
Posts: 52

Original Poster
Rep: Reputation: 15
hey i cannot find any /etc/hosts directory

maybe this /etc/httpd/conf/vhosts
 
Old 05-09-2003, 06:48 PM   #11
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Nope - but there is a "file" called /etc/hosts

You will need to be root to edit it.

If it aint there (highly unlikely) just create it.
 
Old 05-16-2003, 08:17 AM   #12
jmono
Member
 
Registered: Feb 2003
Location: Colombia
Distribution: Mandrake
Posts: 52

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by jmono
hey i cannot find any /etc/hosts directory

maybe this /etc/httpd/conf/vhosts
ok
but how do i create it??
 
Old 05-16-2003, 08:19 AM   #13
jmono
Member
 
Registered: Feb 2003
Location: Colombia
Distribution: Mandrake
Posts: 52

Original Poster
Rep: Reputation: 15
sorry... my mistake
i donīt wanna quote my own message

i need to create the file /etc/hosts

but how???
 
Old 05-16-2003, 02:59 PM   #14
jmono
Member
 
Registered: Feb 2003
Location: Colombia
Distribution: Mandrake
Posts: 52

Original Poster
Rep: Reputation: 15
well..
i already made the DNS service for my private network

but now i need to view my machine from another computer
and when i try to access to it, it doesnīt try to find it throught the private network, it just look for it in internet
 
  


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 client cannot resolve on dns server jtvillegas Linux - Software 3 03-12-2016 03:30 PM
Do I leave primary and seconday DNS blank for a DNS Server? imsam Linux - Networking 3 10-25-2004 01:48 PM
lame dns servers etc and general dns issues suse_linux9.1 Linux - Networking 3 06-01-2004 01:50 PM
DNS still slow after installing caching DNS mooreted Linux - Networking 16 01-01-2004 12:18 AM
need help to set up caching only dns server to with bogus DNS entries ullas Linux - Networking 1 10-28-2003 01:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:00 PM.

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