hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : New server setup - resolve.conf ??
Reply

Hosting Security and Technology Configuring and optimizing web hosting servers and operating systems, developing administration scripts, building servers, protecting against hackers, and general security (SSL certificates, etc.)
Forum Jump

New server setup - resolve.conf ??

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 03-27-2002, 11:35 PM
XyD XyD is offline
Newbie
 
Join Date: Feb 2002
Location: Greece
Posts: 5
Unhappy

New server setup - resolve.conf ??


Hi ,

I'm setting up my first server and I 'm using WHM and Cpanel4.
I really don't know much about DNS and stuff but i think i configured everything right

The only prob is none of my domains resolve the ips i assigned for them. I try to ping my domains and i get "unknown host"
The propagation should be finished by now, it's been 2 days since i registered the domains so i guess this is my fault
Is there something wrong in the /etc/resolv.conf file maybe ??

Here is whats in it:

domain darkorb.net
search darkorb.net
nameserver 127.0.0.1
nameserver 205.162.50.248
nameserver 66.96.193.2
nameserver 66.96.194.2

None of these ips are mine.
I have my own nameservers and i entered them correctly in the WHM. The /etc/resolv.conf didn't change a bit.
Should i manualy change that file.
What do you think ??
Can you give me an example how does a real resolv.conf look like ?

Thanks in advance

Reply With Quote


Sponsored Links
  #2  
Old 03-29-2002, 03:49 AM
protector330 protector330 is offline
Registered User
 
Join Date: Mar 2002
Posts: 125
hi I'm sorry not to be able to tell you the 100% correct thing to do. I'm also new with nameservers and I had the same question days ago.

Somebody told me to put my own ns in the, others told me to put those of my isp there.

right now I have the one of my isp in there and everything seems to be working fine

Reply With Quote
  #3  
Old 03-29-2002, 04:01 AM
serve-you serve-you is offline
Web Hosting Master
 
Join Date: Nov 2001
Location: Ashburn, VA
Posts: 1,041
resolv.conf should contain the nameserver to which your machine looks for domain resolution. Generally if you have your own nameserver, you should put it here. I always put my own nameserver, followed by my ISP nameserver. That way if my nameserver is inaccessable, it will move on to the ISP nameserver for resolution.

-Dan

__________________
Affordable web hosting, design, & domain registration services since 2001
www.serve-you.net

Reply With Quote
Sponsored Links
  #4  
Old 03-29-2002, 06:33 AM
XyD XyD is offline
Newbie
 
Join Date: Feb 2002
Location: Greece
Posts: 5
Thanks for the aswers guys.
I tryed them out right away
I put my nameservers : nothing happens
I put my VDI's nameserver : nothing happens
I tryed both of them together and still nothing

I restart named after every change just in case.

I am trying nslookup using my computer and other sites offering this kind of network tools.
None seams to resolve an ip address for my domains.
The only computer on this planet who knows my domains ips is my box and it's keeping it like it's a secret.

What am i doing wrong? Do i have to wait a few hours for the nameservers to actualy work, or am i gonna see the difference right away when i do something right ??

Thanks again
I hate DNS

Reply With Quote
  #5  
Old 03-29-2002, 10:08 AM
priyadi priyadi is offline
Registered User
 
Join Date: Apr 2001
Location: Depok, Indonesia
Posts: 986
Try running named on the server, and use 127.0.0.1 as your DNS server in resolv.conf. It's strange if it won't work, except if there is something with your network configuration.

Reply With Quote
  #6  
Old 03-29-2002, 10:16 AM
T_E_O T_E_O is offline
WHT Addict
 
Join Date: Oct 2001
Location: The Netherlands, Europe
Posts: 153
Ok, time to get some things straight:

- resolv.conf is a systemwide file that is used by some libraries to resolve host names to ip addresses and vice-versa. if "nslookup www.webhostingtalk.com" gives you an IP address, than you shouldn't have to edit this file anymore.
If it doesn't, try some of the other nameserver you talked about. Your ISP's for instance.

- DNS servers for your domain are there to make sure your site can be found on the internet. You can run your own nameserver on the machine you were talking about, but maybe you can also use the dns servers of the registrar of your domain for free. Many registrars nowadays offer this kind of service and it might be useful if you're not fully acquainted with the DNS system. This is (almost) totally unrelated to the resolv.conf file mentioned above.

The resolv.conf file is used for YOUR machine to resolve names to ip addresses and vice-versa. The nameservers for your domain are used by OTHERS to resolve your domain to an ip address.

Reply With Quote
  #7  
Old 03-30-2002, 08:16 AM
XyD XyD is offline
Newbie
 
Join Date: Feb 2002
Location: Greece
Posts: 5
Thanks T_E_O . That cleared things up for me.
That really helped
I finaly reached my provider's support and they say they are gonna work on it soon. Yeah right...

I hate companies w/ lousy support (but they are cheap )

Reply With Quote
  #8  
Old 03-30-2002, 12:52 PM
webx webx is offline
Web Hosting Master
 
Join Date: Mar 2002
Location: Canada
Posts: 781
Hi XyD,

Have you registered your nameservers with your registrar?

That is under your domain, you should have two nameservers setup against two separate IP addresses.

That is the first part of name resolution (for your domain and subdomains) that rest of the world needs.

Reply With Quote
  #9  
Old 03-30-2002, 04:23 PM
XyD XyD is offline
Newbie
 
Join Date: Feb 2002
Location: Greece
Posts: 5
Yes Masood , I registered 2 nameservers and some domains 4 days ago with GoDaddy.
I don't think i did anything wrong.
It seems like my nameservers don't work properly
This is what i get from their DNS records.

ns1.mydomain.com IN A ***.***.***.*** 86400s (1d)
***.***.***.in-addr.arpa IN SOA server: localhost
email: root@localhost
serial: *******
refresh: 28800
retry: 14400
expire: 3600000
minimum ttl: 86400
86400s (1d)

Reply With Quote
  #10  
Old 03-31-2002, 02:07 PM
jw jw is offline
Aspiring Evangelist
 
Join Date: Nov 2000
Location: Austin, TX
Posts: 415
Sounds to me like its more of a netmask problem. Check your netmasks and be sure they are correct.

__________________
Justin Bachus
BlastHosting, LLC - Professional web hosting at a low price with
PHP, MySQL, FreeBSD, and more!
http://www.blasthosting.com

Reply With Quote
  #11  
Old 03-31-2002, 04:23 PM
XyD XyD is offline
Newbie
 
Join Date: Feb 2002
Location: Greece
Posts: 5
Netmask ???

How can i check this out jw ?

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
Windows Azure Processes 4.7 Billion Authentication Requests Weekly Web Hosting News 2012-11-27 17:21:03
Cloud Software Provider GreenButton Launches Cloud Fabric Server Platform Web Hosting News 2012-11-06 17:11:09
Microsoft Planning Online Windows Azure Conf, Targeting Cloud Developers Web Hosting News 2012-11-05 16:29:26
Oracle is the Latest Vendor to Apply Patch for Apache Killer Flaw Web Hosting News 2011-09-19 14:43:58
CloudPassage Joins Cloud Security Alliance Web Hosting News 2011-06-09 20:58:30


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

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

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?