DaemonForums  

Go Back   DaemonForums > Miscellaneous > General software and network

General software and network General OS-independent software and network questions, X11, MTA, routing, etc.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 12th January 2019
bsdperson bsdperson is offline
Port Guard
 
Join Date: May 2008
Posts: 36
Unhappy 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
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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


All times are GMT. The time now is 05:37 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick