LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 06-09-2003, 04:32 AM   #1
kailuaboy
Member
 
Registered: Jun 2003
Location: Hawaii
Distribution: Suse Linux 8.2
Posts: 42

Rep: Reputation: 15
dns starting...


I am going through the dns setup for my suse linux 8.2 pro and i keep getting an error when I type in http://localhost, and http://127.0.0.1 like it tells me too.

I have looked in /etc/resolv.conf and have this:

search dsl-verizon.net
nameserver 4.2.2.4
nameserver 4.2.2.5
nameserver 4.2.2.6


this is for my DSL connection obviously.... now, do I need to add anything to get a DNS configuration going? I did command rcnamed start already.

Please help me get my DNS configs going.

Thanks,
Ivan
 
Old 06-09-2003, 02:25 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,568

Rep: Reputation: 164Reputation: 164
You need to add your DNS to your resolv.conf. The file should be like this:
search dsl-verizon.net
nameserver 127.0.0.1
nameserver 4.2.2.4
nameserver 4.2.2.5
nameserver 4.2.2.6

BTW You can test your DNS using
dig @127.0.0.1 hostname
where hostname is any hostname (may be linuxquestions.org).
 
Old 06-09-2003, 02:52 PM   #3
kailuaboy
Member
 
Registered: Jun 2003
Location: Hawaii
Distribution: Suse Linux 8.2
Posts: 42

Original Poster
Rep: Reputation: 15
ok... I added the nameserver 127.0.0.1 to my resolv.conf file.

I now tryed http://localhost, and http://127.0.0.1 and still nothing.

do I need to restart apache? do I need to restart my machine?
also, how do I create an IP? say I want an IP like 152.135.153.135 (just for an example), and want it to point to kailuawireless.net.
1. How would I create the IP?
2. How would I forward it to kailuawireless.net?


Thank you,
Ivan
 
Old 06-09-2003, 03:01 PM   #4
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,568

Rep: Reputation: 164Reputation: 164
You don't create IPs. You assign only local ones, not global. DNS is used to get a name, let's say kailuawireless.net and find the server that knows which IP is it.
BTW Please try dig. If it shows you an IP, it menas your DNS works correctly.

What happens when you run http://127.0.0.1? Could you copy the message?
 
Old 06-09-2003, 04:13 PM   #5
kailuaboy
Member
 
Registered: Jun 2003
Location: Hawaii
Distribution: Suse Linux 8.2
Posts: 42

Original Poster
Rep: Reputation: 15
I get this message when I run http://127.0.0.1

An error occured while loading http://127.0.0.1?:


Could not connect to host 127.0.0.1



----------
Also, I tryed dig... it didnt work.

Ivan
 
Old 06-09-2003, 04:23 PM   #6
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Rep: Reputation: 116Reputation: 116
Are you blocking port 53 for DNS?
 
Old 06-09-2003, 05:07 PM   #7
kailuaboy
Member
 
Registered: Jun 2003
Location: Hawaii
Distribution: Suse Linux 8.2
Posts: 42

Original Poster
Rep: Reputation: 15
I dont know... I dont think so... how would I be able to check?

Ivan
 
Old 06-09-2003, 05:08 PM   #8
aherm
Member
 
Registered: Jan 2003
Location: upNorth
Distribution: openSuSE/uBuntu
Posts: 410

Rep: Reputation: 30
You should install webmin and start apache e.g. from http://localhost:10000.

Even with default apache installation starting it in webmin enabling access to http://localhost, and http://127.0.0.1 right away.

You should unblock some ports (www 80) from SuSE firewall to make it accessible from outside.


Have fun :-)
 
Old 06-09-2003, 05:17 PM   #9
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Rep: Reputation: 116Reputation: 116
I dont think installing apache or webmin will really help here, it'll just add another security risk and thing to investigate.
Have a look at your iptables rules, via a graphical frontend if you use one. Port 80 is for web access, eg viewing and serving webpages.
 
Old 06-09-2003, 10:58 PM   #10
kailuaboy
Member
 
Registered: Jun 2003
Location: Hawaii
Distribution: Suse Linux 8.2
Posts: 42

Original Poster
Rep: Reputation: 15
what about DNS2go, or Zoneedit.com? I have heard I should use those to get my webserver up with DNS availability.

What do you think?

ivan
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 starting problem DanielTan Linux - Networking 15 09-01-2005 02:13 AM
Do I leave primary and seconday DNS blank for a DNS Server? imsam Linux - Networking 3 10-25-2004 02:48 PM
Won't Boot - Starting Printer Service - Starting CUPS jeansond Linux - Newbie 0 10-11-2004 07:39 PM
Starting apps after starting xfce?? gtgoku Slackware 2 08-21-2004 02:49 PM
need help to set up caching only dns server to with bogus DNS entries ullas Linux - Networking 1 10-28-2003 02:54 PM


All times are GMT -5. The time now is 01:03 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration