Jakob Schlyter wrote:>> What about adding named? I know it''s big but it is the last piece to >> make flashboot to a complete firewall-solution. > > I really like that, but we still have the problem the small ramdisk. > is there any way we can fix this? it''s getting really annoying...I guess it''s always going to be a trade off between compatibility with devices with small memory versus functionality. But as far as I understand it there shouldn''t be a problem to increase the disksize now that DMA is out of the picture. And it has been for some time now, or am I wrong? Rickard. (I''m adding the list to this discussion as other people possible have comments on this issue)
Rickard Dahlstrand wrote:>Jakob Schlyter wrote: >>> What about adding named? I know it''s big but it is the last piece to >>> make flashboot to a complete firewall-solution.>> I really like that, but we still have the problem the small ramdisk. >> is there any way we can fix this? it''s getting really annoying...>I guess it''s always going to be a trade off between compatibility with >devices with small memory versus functionality. But as far as I >understand it there shouldn''t be a problem to increase the disksize now >that DMA is out of the picture. And it has been for some time now, or am >I wrong? > >Rickard. > >(I''m adding the list to this discussion as other people possible have >comments on this issue)I built a slave/secondary dns server using one of my soekris and flashboot. In this case the extra disk space was added by creating /etc/rc.init and adding this line. mount_mfs -s 4096 swap /var/named/slave (adjust size to your specific need) Right now the zones file on this slave would not persist after a reboot, but the point is that if some extra space is needed there is an other way than changing MINIROOTSIZE kernel option and rebuilding. (when you can edit the rc.init file and reboot :-) Cheers Yannick.
On 2006/08/24 00:07, Yannick Gravel wrote:> I built a slave/secondary dns server using one of my soekris and flashboot.fwiw, nsd works very nicely under flashboot for authoritative or secondary DNS servers - I think the original comment here was about resolvers though.
On 24 aug 2006, at 06.07, Yannick Gravel wrote:> I built a slave/secondary dns server using one of my soekris and > flashboot. > In this case the extra disk space was added by creating /etc/ > rc.init and > adding this line. > > mount_mfs -s 4096 swap /var/named/slavethe problem is not /var/named, it''s getting the named binary included in the ramdisk. jakob
On Thu, Aug 24, 2006 at 08:03:11PM +0200, Jakob Schlyter wrote: : the problem is not /var/named, it''s getting the named binary included : in the ramdisk. it does fit on 3.9 (haven''t tried current). just uncomment these lines in list: [stevesk at steam flashboot]$ grep named list #COPY ${DESTDIR}/var/named/etc/named.conf var/named/etc/named.conf #COPY /dev/null var/named/etc/rndc.key #COPY ${DESTDIR}/var/named/standard/localhost var/named/standard/localhost #COPY ${DESTDIR}/var/named/standard/loopback var/named/standard/loopback #COPY ${DESTDIR}/var/named/standard/loopback6.arpa var/named/standard/loopback6.arpa #COPY ${DESTDIR}/var/named/standard/root.hint var/named/standard/root.hint #COPY ${DESTDIR}/usr/sbin/named usr/sbin/named
On Thu, Aug 24, 2006 at 11:25:09AM -0700, Kevin Steves wrote: : it does fit on 3.9 (haven''t tried current). just uncomment these : lines in list: just built 4.0-current and named fits: [root at localhost root]# df -k Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/rd0a 14695 12154 2541 83% / /dev/wd0a 121534 6302 109156 5% /flash [root at localhost root]# ls -l /usr/sbin/named -r-xr-xr-x 1 root wheel 1469242 Aug 25 19:03 /usr/sbin/named