Koozali.org: home of the SME Server

DNS issue

AidansDad

DNS issue
« on: January 28, 2006, 03:09:13 PM »
I need to either turn off bind and DNS on my SME servers or supply another DNS IP for the local LAN adapter on my SME boxes.

I'm just using them as file servers on the local networks which already contain DNS servers in the windows 2003 server and also the Point of sale unix boxes.  With the SME box acting as it own DNS server, it's causing all kinds of hits on our firewall as it's tries to resolve names through the internet.

I'm using 6.5 in server only mode

so I've  got to have the SME box use the same DNS servers as the rest of the local LANS, and I'm not sure how to do it.  I can't imagine it'd be that hard, but I'm just not finding the info.

all help is always appreciated.

AidansDad

DNS issue
« Reply #1 on: January 29, 2006, 12:10:34 AM »
Buehler? Buehler?

cc_skavenger

DNS issue
« Reply #2 on: January 29, 2006, 08:24:41 AM »
the best thing to do is to rerun the server configuration and put in the new IP. I dont recommend it, but you can turn off tinydns and dnscache to disable DNS on this box.

HTH

AidansDad

DNS issue
« Reply #3 on: January 29, 2006, 02:00:49 PM »
I re-ran the server config via ssh (these are all remote to me) but didn't see anywhere to enter a DNS address in server only mode.  I checked 3 times, I don't think I'm missing it. . . . but maybe I am, can someone screen shot the place in the server only config where I'd put in a local DNS IP or at least describe the step

thanks

cc_skavenger

DNS issue
« Reply #4 on: January 29, 2006, 07:56:22 PM »
ok, lets start over.  What version are you running?  It sounds like SME 7.X  If it is, get into the server manager and put in the DNS info under Domains, there is a place for a DNS entry under Corporate DNS Settings.

HTH

AidansDad

DNS issue
« Reply #5 on: January 29, 2006, 10:30:44 PM »
version is 6.5 RC1

so where do I go from there?

cc_skavenger

DNS issue
« Reply #6 on: January 29, 2006, 11:26:18 PM »
ok, I don't have a clue.  Never used 6.5.  Hopefully someone else will chime in with an answer.

AidansDad

DNS issue
« Reply #7 on: January 30, 2006, 12:16:10 AM »
I tried to stick with just standard releases, but the kernel in 6.01 wouldn't recognize the large (300GB) hard drives I was needing to use.  I didn't want to put alpha stuff in production, and 6.5 seemed by all accounts to be stable enough to be a release.  Is 7 stable enough to use in production?

cc_skavenger

DNS issue
« Reply #8 on: January 30, 2006, 03:28:56 AM »
I have a customer who is using SME 7 pre 1 for production.  He needed the newer versions of PHP and mysql.  The servers (4) have been running fine for about a month, so far.  I guess it depends what you are going to do with it.
What I am running into is that most of the contribs that I am using have not been ported over to SME 7.

AidansDad

DNS issue
« Reply #9 on: January 30, 2006, 01:23:19 PM »
the general question about how to set a different DNS on 6.5 still stands.

however I think I've got my issue sorted.  I changed the default gateway to .254 then added a local network for our corporate location (as well as all our other remote locations) and used .1 as the router.

so now the only place the SME box can go is on the local LAN and through the corporate WAN.


but I'd still like to know if it's possible to change the DNS server address to something OTHER than the SME box itself.

RonM

DNS issue
« Reply #10 on: January 30, 2006, 11:10:47 PM »
Hi AidansDad - from the Administration FAQS

* How do I forward DNS name resolution requests to another DNS server anyway, in SME 6.5?

Beginning with SME Server 6.5, the ability to specify another DNS name server in the Server Manager was removed, because of the problems it was causing with end-users. SME is still able to forward name requests, and if you are sure you really need to do this, here's how:

Determine the IP of the DNS server you want to use. Of course this server must be one that the SME Server can 'see' on the network.
Open a terminal session and type:
/sbin/e-smith/config setprop dnscache Forwarder <enter the IP here (without the <>'s)>
/etc/e-smith/events/actions/dnscache-conf

To remove it do the following:

/sbin/e-smith/config delprop dnscache Forwarder
/etc/e-smith/events/actions/dnscache-conf

Good Luck!

AidansDad

DNS issue
« Reply #11 on: January 31, 2006, 12:09:38 AM »
Quote from: "RonM"
Hi AidansDad - from the Administration FAQS

* How do I forward DNS name resolution requests to another DNS server anyway, in SME 6.5?

Beginning with SME Server 6.5, the ability to specify another DNS name server in the Server Manager was removed, because of the problems it was causing with end-users. SME is still able to forward name requests, and if you are sure you really need to do this, here's how:

Determine the IP of the DNS server you want to use. Of course this server must be one that the SME Server can 'see' on the network.
Open a terminal session and type:
/sbin/e-smith/config setprop dnscache Forwarder <enter the IP here (without the <>'s)>
/etc/e-smith/events/actions/dnscache-conf

To remove it do the following:

/sbin/e-smith/config delprop dnscache Forwarder
/etc/e-smith/events/actions/dnscache-conf

Good Luck!


thanks.  I'm not sure If I'm going to go this route or just stick with the gateway solution but I'm glad to know that there is a way to do it.

thanks again

Offline bcliburn

  • ***
  • 41
  • +0/-0
DNS issue
« Reply #12 on: February 01, 2006, 02:49:12 AM »
I have SME6.1 running as a subdomain of my windows 2003 server so it can be done with 6.1 but I've never tried 6.5  Try it on a test machine and see if it works out