Go Back   DaemonForums > Miscellaneous > General software and network

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

Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 12th January 2019
bsdperson bsdperson is offline
Port Guard
Join Date: May 2008
Posts: 37
Unhappy Dnsmasq - logging of hostnames

In the config there's lines like:

In the log there's lines like:
dnsmasq Jan 12 18:31:59 dnsmasq[42421]: 38814 query[A] edf.eset.com from

I'd like the log files to include the hostname in the log like so:
dnsmasq Jan 12 18:31:59 dnsmasq[42421]: 38814 query[A] edf.eset.com from machine-name-a (
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

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 06:31 AM.

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