Re: 2 lines
On Monday 29/07/2013 at 8:14 am, Zyumbilev, Peter wrote: Hi, I have 2 fiber lines and using pfsense(freebsd) I can easily use them for backup of LAN -- Internet traffic i.e when primary is down, second line kick in automatically. However when one line is down all connections Internet -- LAN to certain service(e.g www) via that connection are down as expected. My question is: is there some smart(e.g DNS) solution that can help me overcome this ? DNS works at a higher layer that physical connections, so cannot be the solution, but may be required in a solution. fail-over for WAN link failure is the solution. For DNS, if you're running public domain named services and you cannot bring up the backup WAN link on the same IP as the failed primary, then you'll have to dynamically update the domain names with new A record. Len ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Bourne shell if syntax
script fragment: PTR=`dig @some.dns +short +norec -x a.b.c.d` echo $PTR if [ $PTR ==] ; then echo $PTR /path/to/PTR_absent.txt fi === output for an IP: a-b-c-d.domain.net. [: a-b-c-d.domain.net.: unexpected operator thanks Len ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
PERL problem installing SQLgrey
freebsd 9.0 portsnap fetch update ... completed successfully cd /usr/ports/mail/sqlgrey make install === Installing for sqlgrey-1.8.0 === sqlgrey-1.8.0 depends on package: p5-Net-Server=0 - found === sqlgrey-1.8.0 depends on package: p5-IO-Multiplex=0 - found === sqlgrey-1.8.0 depends on package: p5-Pod-Parser=0 - found === sqlgrey-1.8.0 depends on package: p5-DBD-mysql=0 - found === sqlgrey-1.8.0 depends on package: p5-Date-Calc=0 - not found ===Verifying install for p5-Date-Calc=0 in /usr/ports/devel/p5-Date-Calc === p5-Date-Calc-6.3 depends on package: p5-Bit-Vector=7.1 - not found ===Verifying install for p5-Bit-Vector=7.1 in /usr/ports/math/p5-Bit-Vector === Extracting for p5-Bit-Vector-7.2_2 = SHA256 Checksum mismatch for Bit-Vector-7.2.tar.gz. and it can't find it anywhere else. bombs out with: fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/Bit-Vector-7.2.tar.gz: size mismatch: expected 135586, actual 137817 = Couldn't fetch it - please try to retrieve this = port manually into /usr/ports/distfiles/ and try again. *** Error code 1 Stop in /usr/ports/math/p5-Bit-Vector. *** Error code 1 Stop in /usr/ports/math/p5-Bit-Vector. *** Error code 1 Stop in /usr/ports/devel/p5-Date-Calc. *** Error code 1 Stop in /usr/ports/mail/sqlgrey. *** Error code 1 but: cpanm Date::Calc Date::Calc is up to date. (6.3) cpanm Bit::Vector Bit::Vector is up to date. (7.2) thanks Len ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org