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. :confused: Thanks, Ivan:( |
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). |
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 |
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? |
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 |
Are you blocking port 53 for DNS?
|
I dont know... I dont think so... how would I be able to check?
Ivan |
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 :-) |
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. |
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 |
All times are GMT -5. The time now is 02:47 AM. |