[leaf-user] Making DNSCache start before Shorewall
Hello all, I'm trying to make DNSCache start before shorewall. This is because I need DNS lookups in the shorewall rules file. I spoke to a friend of mine and we changed the RCDLINKS in the init.d files to the following DNSCache RCDLINKS=2,S45 3,S45 6,K45 Shorewall RCDLINKS=2,S41 3,S41 6,K46 Before, shorewall have a lower value after 6,K Is this the correct way to make DNSCache start first? Because it made no difference. I'm loath to make any more changes in case I kill my box and have to start again :\ The other suggestions I have to try are: Change 6 to 7 Add Sleep 30 to the beginning of the shorewall init script. And I have no idea whether they would be fatal changes. Any advice? Thanks, James --- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing more. Download eval WebKing and get a free book. www.parasoft.com/bulletproofapps leaf-user mailing list: [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html
Re: [leaf-user] Making DNSCache start before Shorewall
James At 13:05 09.07.2003 +0100, you wrote: Hello all, I'm trying to make DNSCache start before shorewall. This is because I need DNS lookups in the shorewall rules file. I spoke to a friend of mine and we changed the RCDLINKS in the init.d files to the following DNSCache RCDLINKS=2,S45 3,S45 6,K45 Shorewall RCDLINKS=2,S41 3,S41 6,K46 This will start DNSCache after Shorewall in init level 2 To make it start before Shorewall you could use RCDLINKS=2,S41 3,S41 6,K46 this will result in an entry of S41DNSCache in your rc2.d directory which should be evaluated before S41Shorewall Make sure your DNSCache can access the uplink DNS server before Shorewall is up HTH Erich THINK Püntenstrasse 39 8143 Stallikon mailto:[EMAIL PROTECTED] PGP Fingerprint: BC9A 25BC 3954 3BC8 C024 8D8A B7D4 FF9D 05B8 0A16 --- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing more. Download eval WebKing and get a free book. www.parasoft.com/bulletproofapps leaf-user mailing list: [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html
Re: [leaf-user] Making DNSCache start before Shorewall
Hello James you wrote Hello all, I'm trying to make DNSCache start before shorewall. This is because I need DNS lookups in the shorewall rules file. I spoke to a friend of mine and we changed the RCDLINKS in the init.d files to the following DNSCache RCDLINKS=2,S45 3,S45 6,K45 Shorewall RCDLINKS=2,S41 3,S41 6,K46 Before, shorewall have a lower value after 6,K Is this the correct way to make DNSCache start first? Because it made no difference. almost correct ;) runlevel 6 is however the runlevel used to stop the box. K is Kill and S is Start. So if you go to runlevel 2 ( the normal operating modus) Shorewall is started at position 41 and dnscache at 45 changeing to : DNSCache RCDLINKS=2,S41 3,S41 6,K45 Shorewall RCDLINKS=2,S45 3,S45 6,K46 lets dnscache starts before shorewall. But I am not sure if that will solve your problem as shorewall will probably be necessary to allow your network to be used after it is started. This will also depend on your connection mode. If it would be possible to use an open connection to the external network during the startup of shorewall, you have a potential security risk. I'm loath to make any more changes in case I kill my box and have to start again :\ The other suggestions I have to try are: Change 6 to 7 Add Sleep 30 to the beginning of the shorewall init script. And I have no idea whether they would be fatal changes. Any advice? Thanks, James Regards Eric Wolzak member of the bering crew --- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing more. Download eval WebKing and get a free book. www.parasoft.com/bulletproofapps leaf-user mailing list: [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html