|
General software and network General OS-independent software and network questions, X11, MTA, routing, etc. |
|
Thread Tools | Display Modes |
|
|||
Dnsmasq - logging of hostnames
In the config there's lines like:
dhcp-host=bc:ee:7b:5d:34:e3,machine-name-a,10.1.1.10,4h In the log there's lines like: dnsmasq Jan 12 18:31:59 dnsmasq[42421]: 38814 10.1.1.10/56156 query[A] edf.eset.com from 10.1.1.10 I'd like the log files to include the hostname in the log like so: dnsmasq Jan 12 18:31:59 dnsmasq[42421]: 38814 10.1.1.10/56156 query[A] edf.eset.com from machine-name-a (10.1.1.10) or something. Atleast both the name and ip visible. Is this possible? I have looked up and down the man page but couldn't find anything useful. I'm on FreeBSD 11.2 and dnsmasq 2.80,1 |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Doas has logging? | cpaulette | OpenBSD General | 1 | 13th March 2016 10:24 AM |
Resolving DHCP hostnames - OpenBSD router | bceverly | OpenBSD General | 4 | 19th July 2015 07:19 PM |
Google, hostnames and Middle Earth. | xmorg | General software and network | 1 | 21st February 2012 12:38 PM |
pflog not logging. | bsdnewbie999 | OpenBSD General | 9 | 13th March 2009 11:19 PM |
local dns (dnsmasq) | bsdperson | FreeBSD Ports and Packages | 3 | 3rd September 2008 06:48 AM |