Outils pour utilisateurs

Outils du site


tech:pb_libvirt_dnsmasq_dns_port_53

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
tech:pb_libvirt_dnsmasq_dns_port_53 [2025/11/11 20:48] Jean-Baptistetech:pb_libvirt_dnsmasq_dns_port_53 [2026/06/07 19:12] (Version actuelle) – modification externe 127.0.0.1
Ligne 1: Ligne 1:
 +<!DOCTYPE markdown>
 +{{tag>Brouillon Virt DNS}}
 +
 +# Pb LibVirt DNSMasq DNS port 53 (TCP/UDP)
 +
 +~~~
 +$ sudo lsof -i UDP:53
 +COMMAND  PID   USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
 +dnsmasq 3461 nobody    6u  IPv4  27341      0t0  UDP poste1.local:domain 
 +~~~
 +
 +~~~
 +$ ps -p 3461 -f
 +UID        PID  PPID  C STIME TTY          TIME CMD
 +nobody    3461      0 11:00 ?        00:00:00 /usr/sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf --dhcp-script=/usr/lib/libvirt/libvirt_leaseshelper
 +~~~
 +
 +`/var/lib/libvirt/dnsmasq/default.conf`
 +~~~ini
 +##WARNING:  THIS IS AN AUTO-GENERATED FILE. CHANGES TO IT ARE LIKELY TO BE
 +##OVERWRITTEN AND LOST.  Changes to this configuration should be made using:
 +##    virsh net-edit default
 +## or other application using the libvirt API.
 +##
 +## dnsmasq conf file created by libvirt
 +strict-order
 +pid-file=/var/run/libvirt/network/default.pid
 +except-interface=lo
 +bind-dynamic
 +interface=virbr0
 +dhcp-range=192.168.122.2,192.168.122.254
 +dhcp-no-override
 +dhcp-leasefile=/var/lib/libvirt/dnsmasq/default.leases
 +dhcp-lease-max=253
 +dhcp-hostsfile=/var/lib/libvirt/dnsmasq/default.hostsfile
 +addn-hosts=/var/lib/libvirt/dnsmasq/default.addnhosts
 +~~~
 +
 +~~~bash
 +virsh -c qemu:///system net-edit default
 +~~~
 +
  

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki