Current time: 11-16-2024, 11:29 AM Hello There, Guest! (LoginRegister)


Post Reply 
DHCP3 - Lenny Update
Author Message
momo Offline
Junior Member
*

Posts: 148
Joined: Jun 2008
Reputation: 1
Post: #1
DHCP3 - Lenny Update
Hi everybody,

I had this problem with /etc/resolv.conf
I don't know if it is ispCP concern, but after updating recent dhcp3, resolv.conf only had this line
Code:
nameserver 127.0.0.1

I have finally replaced this line with
Code:
nameserver x.x.x.200
nameserver x.x.x.202
from my dedicated server supplier.

Is it ok to only put these in /etc/resolv.conf ?

Any help would be appreciated.
08-28-2009 01:40 AM
Find all posts by this user Quote this message in a reply
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #2
RE: DHCP3 - Lenny Update
It is ok as long as you are not trying to use "fake" domains to test the panel. Otherwise, keep the "nameserver 127.0.0.1" line and just let the ispcp-configured bind server take care of all the local DNS queries.
08-28-2009 01:44 AM
Visit this user's website Find all posts by this user Quote this message in a reply
momo Offline
Junior Member
*

Posts: 148
Joined: Jun 2008
Reputation: 1
Post: #3
RE: DHCP3 - Lenny Update
Whenever I put
Code:
nameserver 127.0.0.1
in /etc/resolf.conf
/var/log/mail.log says
Code:
NOQUEUE: reject: RCPT from unknown
disconnect from unknown
connect from unknown

When I remove it,
Code:
connect from smtp3.globetrotter.net
etc

Can I just not put 127.0.0.1 ?
Is this normal ?
08-28-2009 01:50 AM
Find all posts by this user Quote this message in a reply
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #4
RE: DHCP3 - Lenny Update
Do you have bind running correctly?
08-28-2009 04:24 AM
Visit this user's website Find all posts by this user Quote this message in a reply
momo Offline
Junior Member
*

Posts: 148
Joined: Jun 2008
Reputation: 1
Post: #5
RE: DHCP3 - Lenny Update
Thanks for helping me.
Thats a good question... (eek!)

The only thing I know is that I have commented this line in /etc/bind/named.conf
Code:
#include "/etc/bind/vhcs.conf";
and that I have followed this http://www.isp-control.net/documentation...ore_secure
10.) Securing Open DNS server (BIND 9)
(These edit were a while ago)

It looks like it works.
After editing/testing with /etc/resolv.conf I never restarted bind...?
(This post was last modified: 08-28-2009 04:35 AM by momo.)
08-28-2009 04:33 AM
Find all posts by this user Quote this message in a reply
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #6
RE: DHCP3 - Lenny Update
Quote:and that I have followed this http://www.isp-control.net/documentation...ore_secure
10.) Securing Open DNS server (BIND 9)

Gotha! Replace the "recursion no" directive you've put in /etc/bind/named.conf.options by:
Code:
allow-recursion { localnets; };

"recursion no" prevents the server of properly acting as a resolver, even for itself. With my new proposal, it will act as a resolver, but only the IP's of your server (which is good).
(This post was last modified: 08-28-2009 06:05 AM by kilburn.)
08-28-2009 06:04 AM
Visit this user's website Find all posts by this user Quote this message in a reply
momo Offline
Junior Member
*

Posts: 148
Joined: Jun 2008
Reputation: 1
Post: #7
RE: DHCP3 - Lenny Update
Wo!!! Can't wait to try this later tonight, when everyboby sleeps (hihihi)

I will tell you how it went.
08-28-2009 08:25 AM
Find all posts by this user Quote this message in a reply
momo Offline
Junior Member
*

Posts: 148
Joined: Jun 2008
Reputation: 1
Post: #8
RE: DHCP3 - Lenny Update
YES!

I drink to you.

Feels like good old fine smooth (for now) server again.

Thanks for updating the howto too.
08-28-2009 01:34 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)