[Cialug] The systemd Init System

Todd E Thomas todd.dsm at gmail.com
Wed Dec 9 15:48:17 CST 2015


Jeeze kinda messy - but I can see where it would be useful to see this type
of info. Personally when I configure 'named.conf' I jack up the logging,
probably too much, so I can see what's going on. After testing, I tend to
comment out some parameters to calm the logging chatter.

Point being, that drops any and all DNS messages in the log, wherever you
specify it (path and location), then if curious:
tail -f /path/named.log
tail -f /path/named-errors.log
tail -f /path/named-debug.log
etc

This doesn't seem like info that should be in the system journal though. It
should have it's own place like apache, samba, etc.

--
Thanks in advance,

Todd E Thomas
C: 515-778-6913

*"It's a frail music knits the world together."-Robert Dana*



On Wed, Dec 9, 2015 at 3:33 PM, Jeffrey Ollie <jeff at ocjtech.us> wrote:

> And yes, I do keep query logging turned on all the time...
>
> # systemctl status named.service
> ● named.service - Berkeley Internet Name Domain (DNS)
>    Loaded: loaded (/usr/lib/systemd/system/named.service; enabled; vendor
> preset: disabled)
>    Active: active (running) since Fri 2015-12-04 14:52:49 CST; 5 days ago
>   Process: 2532 ExecStart=/usr/sbin/named -u named $OPTIONS (code=exited,
> status=0/SUCCESS)
>   Process: 2500 ExecStartPre=/bin/bash -c if [ ! "$DISABLE_ZONE_CHECKING"
> == "yes" ]; then /usr/sbin/named-checkconf -z /etc/named.conf; else echo
> "Checking of zone files is disabled"; fi (code=exited, status=0/SUCCESS)
>  Main PID: 2541 (named)
>    CGroup: /system.slice/named.service
>            └─2541 /usr/sbin/named -u named
>
> Dec 09 15:32:05 fw06.dmacc.net named[2541]: queries: info: client
> 10.6.155.209#3269 (data.flurry.com.guest....50.6)
> Dec 09 15:32:06 fw06.dmacc.net named[2541]: queries: info: client
> 161.210.214.158#54483 (secure-us.imrworld...50.6)
> Dec 09 15:32:06 fw06.dmacc.net named[2541]: queries: info: client
> 10.6.148.113#53405 (wf.webrootanywhere.co...50.6)
> Dec 09 15:32:06 fw06.dmacc.net named[2541]: queries: info: client
> 161.210.70.157#56818 (mobidcs.ebay.com): ...50.6)
> Dec 09 15:32:06 fw06.dmacc.net named[2541]: queries: info: client
> 10.6.153.121#51596 (crackleusiosns-vh.aka...50.6)
> Dec 09 15:32:07 fw06.dmacc.net named[2541]: queries: info: client
> 161.210.70.157#57944 (loadr.exelator.com)...50.6)
> Dec 09 15:32:07 fw06.dmacc.net named[2541]: queries: info: client
> 161.210.70.157#57415 (adadvisor.net): que...50.6)
> Dec 09 15:32:07 fw06.dmacc.net named[2541]: queries: info: client
> 161.210.70.157#58366 (ads.adaptv.advertis...50.6)
> Dec 09 15:32:07 fw06.dmacc.net named[2541]: queries: info: client
> 161.210.214.158#54736 (player.ooyala.com)...50.6)
> Dec 09 15:32:08 fw06.dmacc.net named[2541]: queries: info: client
> 161.210.214.158#55343 (cdn-api.ooyala.com...50.6)
> Hint: Some lines were ellipsized, use -l to show in full.
>
>
> On Wed, Dec 9, 2015 at 3:28 PM, Todd E Thomas <todd.dsm at gmail.com> wrote:
>
> > Sorry Jeff, I saw this in your initial reply; I was curious about the
> > *systemctl
> > status named* output.
> >
> > Can I see that?​
> > _______________________________________________
> > Cialug mailing list
> > Cialug at cialug.org
> > http://cialug.org/mailman/listinfo/cialug
> >
>
>
>
> --
> Jeff Ollie
> _______________________________________________
> Cialug mailing list
> Cialug at cialug.org
> http://cialug.org/mailman/listinfo/cialug
>


More information about the Cialug mailing list