Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: jonash on July 13, 2006, 10:01:51 AM

Title: dns forwarder
Post by: jonash on July 13, 2006, 10:01:51 AM
Hello,

By some reason/misstake, I managed to add a DNS forwarder..
When I access the "Hostnames and adresses" I get the message
A DNS forwarder has been configured. This means that all DNS lookups will be handled by the DNS forwarder. Hostnames and addresses cannot be modified on this server while a DNS forwarder is configured.

I ran the commands
/sbin/e-smith/config delprop dnscache Forwarder
/sbin/e-smith/signal-event post-upgrade
/sbin/e-smith/signal-event reboot

but I still got the message above...
Should I do anything else?

Jonas
Title: dns forwarder
Post by: jonash on July 14, 2006, 09:02:18 AM
Does anyone have an idea?
Title: dns forwarder
Post by: p-jones on July 14, 2006, 11:51:36 AM
Have you tried logging in to the console  or connecting with PUTTY as user "admin" then selecting option 2 to configure the server. You should be able to re assign the correct DNS settings.

I have done it a number of times, in my case it has never been destructive but I guess you should think about backing up any critical data just in case....

HTH
Peter
Title: dns forwarder
Post by: jonash on July 14, 2006, 12:47:44 PM
I have...
There is an entry about the DNS, but it's empty....
Maybe I should add something, and then try to remove it...

Jonas
Title: dns forwarder
Post by: jonash on July 16, 2006, 04:57:26 PM
Cant get it to work...
Still get this message when I chose "Hostnames and Addresses"
Operation status report
A DNS forwarder has been configured. This means that all DNS lookups will be handled by the DNS forwarder. Hostnames and addresses cannot be modified on this server while a DNS forwarder is configured.


When I do a "Review configuration" I get:
DHCP server   enabled
Beginning of DHCP address range   192.168.1.65
End of DHCP address range   192.168.1.250
Server names
DNS server   192.168.1.1


(192.168.1.1 is the SME-server)

# /sbin/e-smith/config show dnscache
dnscache=service
    Forwarder=
    Forwarder2=
    TCPPort=53
    UDPPort=53
    access=private
    status=disabled

Something seems to be wrong! Anybody?
Title: dns forwarder
Post by: CharlieBrady on July 16, 2006, 05:31:54 PM
Quote from: "jonash"

Still get this message when I chose "Hostnames and Addresses"
Operation status report
A DNS forwarder has been configured. This means that all DNS lookups will be handled by the DNS forwarder. Hostnames and addresses cannot be modified on this server while a DNS forwarder is configured.

...
Something seems to be wrong!


That message shows up if all of the domains in your domains database have a Nameserver property pointing somewhere other than localhost. What does "db domains show" show?
Title: dns forwarder
Post by: jonash on July 16, 2006, 11:02:06 PM
It says:
Nameservers=internet
on all!

It should probably be: Resolve locally...

Yes, it works!

Thanks!

Jonas
Title: dns forwarder
Post by: SuperGrover on September 11, 2006, 01:00:34 AM
Quote from: "jonash"
It says:
Nameservers=internet
on all!

It should probably be: Resolve locally...

Yes, it works!

Thanks!

Jonas

Same problem here, but how did you manage to enter resolve locally ??

I tried:  "db domains setprop Nameservers local"

but it didn't work  :-?
Title: dns forwarder
Post by: fern on September 11, 2006, 02:15:03 AM
SuperGrover

> ...how did you manage to enter resolve locally ??

Server manager/Domains panel

A read of the manual will be useful
http://no.longer.valid/phpwiki/index.php/SME7Manual
Chapter 13.6
Title: dns forwarder
Post by: SuperGrover on September 12, 2006, 10:34:31 PM
I looked over it I think 20 times  :-(

Thanks! Everything is working again
Title: I had this problem too [SOLVED]
Post by: LANMonkey on December 27, 2011, 07:18:14 PM
I'd like to report some similar confusion and reinforce the solution by reporting my experience.

I also had the Host Name and Addresses part of the Configuration category in my server-manager page reporting:

Quote
A DNS forwarder has been configured. This means that all DNS lookups will be handled by the DNS forwarder. Hostnames and addresses cannot be modified on this server while a DNS forwarder is configured.

Looking at the solution offered here, I went into the Domains part of the Configuration in the Server Manager and changed just one of the Domains I had from "Internet DNS Server" to "Resolve Locally" and immediately I got my host name listing back in the Host Name and Address part of the Configuration category.  All it took was to change one, I have several Host Names pointing to different ibays.  I'd like to know what the difference is between the two "Internet DNS Server" and "Resolve Locally" settings.  Is there some configuration where these settings make a more important difference?  I have a dynamic DNS service providing reference to my DSL connection, dyndns.