jcdole DD-WRT Novice
Joined: 13 Jun 2015 Posts: 42 Location: South-West France
|
Posted: Thu May 31, 2018 16:00 Post subject: Duplicate line in /tmp/resolv.com |
|
Router netgear r6300v2 - firmware DD-WRT v3.0-r34777 std ( 01/31/18 )
---
Hello.
I got a duplicate line in /etc/resolv.conf
Code: | root@router-dd-wrt:~# cat /tmp/resolv.conf
search troll-hathor.nwk
search troll-hathor.nwk
nameserver 192.168.130.230
|
Code: |
root@router-dd-wrt:~# cat /tmp/resolv.dnsmasq
nameserver 192.168.130.230 (current router)
nameserver 4.2.2.2
nameserver 8.8.4.4
nameserver 192.168.3.230 (intermediate router where Wan port is connected to)
|
Code: | root@router-dd-wrt:~# cat /tmp/dnsmasq.conf
interface=br0
resolv-file=/tmp/resolv.dnsmasq
domain=troll-hathor.nwk
dhcp-leasefile=/tmp/dnsmasq.leases
dhcp-lease-max=30
dhcp-option=br0,3,192.168.130.230
dhcp-authoritative
dhcp-range=br0,192.168.130.160,192.168.130.189,255.255.255.0,1440m
bogus-priv
conf-file=/etc/rfc6761.conf
stop-dns-rebind
local=/local/
listen-address=127.0.0.1,192.168.130.230
domain-needed
bogus-priv
expand-hosts
filterwin2k
no-negcache
#
# Block advertissements
addn-hosts=/tmp/gen_host.txt
#
#
# Assign fixed IP
dhcp-host=78:24:AF:8C:16:88,192.168.130.123,MY-SERVER-LINUX
dhcp-host=D0:84:B0:84:C0:FF,192.168.130.130,CANAL-PLUS-TPS
dhcp-host=30:05:5c:3a:e3:af,192.168.130.103,BROTHER-HL2250DN
dhcp-host=00:15:99:8a:a0:19,192.168.130.104,SAMSUNG-CLP325W
dhcp-host=00:24:be:f4:6d:4c,192.168.130.105,SONY-TV-BRAVIA-32EX500
..........
..........
..........
#
|
Where does it come from ?
Any help is welcome. _________________ Netgear R6300v2 DD-WRT v3.0-r47495 std (09/28/21) - Linux Opensuse Leap 15.2 - Win 10 |
|