Ok, więc tak plik dnsmasq.conf
# Change the following lines if you want dnsmasq to serve SRV
# records.
# You may add multiple srv-host lines.
# The fields are <name>,<target>,<port>,<priority>,<weight>
# A SRV record sending LDAP for the example.com domain to
# ldapserver.example.com port 289
#srv-host=_ldap._tcp.example.com,ldapserver.example.com,389
# Two SRV records for LDAP, each with different priorities
#srv-host=_ldap._tcp.example.com,ldapserver.example.com,389,1
#srv-host=_ldap._tcp.example.com,ldapserver.example.com,389,2
# A SRV record indicating that there is no LDAP server for the domain
# example.com
#srv-host=_ldap._tcp.example.com
# The following line shows how to make dnsmasq serve an arbitrary PTR
# record. This is useful for DNS-SD.
# The fields are <name>,<target>
#ptr-record=_http._tcp.dns-sd-services,"New Employee Page._http._tcp.dns-sd-services"
# Change the following lines to enable dnsmasq to serve TXT records.
# These are used for things like SPF and zeroconf.
# The fields are <name>,<text>,<text>...
#Example SPF.
#txt-record=example.com,"v=spf1 a -all"
#Example zeroconf
#txt-record=_http._tcp.example.com,name=value,paper=A4
# Provide an alias for a "local" DNS name. Note that this _only_ works
# for targets which are names from DHCP or /etc/hosts. Give host
# "bert" another name, bertrand
# The fields are <cname>,<target>
#cname=bertand,bert
###### BEGIN BONJOUR PRINTER CONFIGURATION #####
ptr-record=b._dns-sd._udp.0.1.168.192.in-addr.arpa,lan
ptr-record=db._dns-sd._udp.0.1.168.192.in-addr.arpa,lan
ptr-record=r._dns-sd._udp.0.1.168.192.in-addr.arpa,lan
ptr-record=dr._dns-sd._udp.0.1.168.192.in-addr.arpa,lan
ptr-record=lb._dns-sd._udp.0.1.168.192.in-addr.arpa,lan
ptr-record=_services._dns-sd._udp.lan,_pdl-datastream._tcp.lan
ptr-record=_pdl-datastream._tcp.lan,Gargoyle._pdl-datastream._tcp.lan
srv-host=Gargoyle._pdl-datastream._tcp.lan,Gargoyle.lan,9100
txt-record=Gargoyle._pdl-datastream._tcp.lan,ty=hp LaserJet 1012,product=(hp LaserJet 1012),usb_MDL=hp LaserJet 1012,txtvers=1,qtotal=1,priority=20
###### END BONJOUR PRINTER CONFIGURATION #######
i plik etc/config/network
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config interface 'lan'
option ifname 'eth0.1'
option type 'bridge'
option proto 'static'
option ipaddr '192.168.1.1'
option dns '192.168.0.250 192.168.200.250'
option netmask '255.255.248.0'
config interface 'wan'
option ifname 'eth0.2'
option proto 'dhcp'
option macaddr 'b0:48:7a:be:d6:65'
option dns '192.168.0.250 192.168.200.250'
option peerdns '0'
config switch
option name 'rtl8366rb'
option reset '1'
option enable_vlan '1'
config switch_vlan
option device 'rtl8366rb'
option vlan '1'
option ports '1 2 3 4 5t'
config switch_vlan
option device 'rtl8366rb'
option vlan '2'
option ports '0 5t'
config interface 'vpn'
option ifname 'tun0'
option proto 'none'
option defaultroute '0'
option peerdns '0'
Zaraz spróbuje wymusić DNS. Jest jakieś wytłumaczenie dlaczego te DNS nie działają?
TL-WR1043ND Gargoyle:
1.6.2.2 (r42647), by obsy oraz NAS z MiniDLNA i Transmission
wcześnej: HUB aktywny + drukarka + USB 2,5" + miniDLNA z napisami + torrent