LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   'forwarders' (https://www.linuxquestions.org/questions/linux-newbie-8/forwarders-685554/)

stephencummings 11-23-2008 09:11 AM

'forwarders'
 
I am using SUSE Linux Server 10.
After setting up DNS to handle forwarders, I issue the command

rcnamed start

I get the following warming message:

Starting name server BIND /etc/named.d/forwarders.conf :6:'forwarders' redefined near 'forwarders'

The loopback is 127.0.0.1
The reverse arp is 0.0.127

The line that the warning message is on, is blank. So I pulled all blank lines in the .conf file and the warning message moved up to the next line. However, there is nothing wrong with the line itself. Here is the actual syntax in the named.conf

forwarders { 192.168.1.254; };

Can anyone first tell me, what is wrong and then, why the command(s) that I am using is not working.

bathory 11-23-2008 10:26 AM

I think that you have another "forwarders" in you named.conf. Remove it, or comment out the line that includes forwarders.conf and restart bind.

stephencummings 11-23-2008 10:51 AM

Forwarders
 
I have researched the .conf file for that very reason and have not found any other instance of the forwarders command there.

Also, when I comment the forwarders line out, the rcnamed.conf file starts without incident. However, no forwarding takes places. I have exhausted all of my know how and have asked in other places. Any other suggestions?

Most appreciated

bathory 11-23-2008 12:28 PM

You can keep the forwarders line commented out and add the forwarders in the "options" part of named.conf to see what happens.
Perhaps you can understand better this, because I don't use Suse, so I cannot know how Yast configures dns.

stephencummings 11-27-2008 06:54 AM

Forwarders
 
I found the problem to my issue with forwarders. Would like to share my results.

After reviewing the named.conf more thoroughly, that was already supplied and configured with SUSE Linux Enterprise 10, the forward first was after the forwarders command. This is how I reconfigured the named.conf.

forwarder first;
forwarders { 192.168.1.1; 172.16.1.1; };


now it works fine.


All times are GMT -5. The time now is 03:41 AM.