Git Product home page Git Product logo

dnsmasq_route's People

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

dnsmasq_route's Issues

运行过程中的错误信息, 需要检查,并清理

root@liushiwei_home:~# logread -f |dnsmasq_route 8.8.4.4 10.7.0.1
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
sh: can't open CNAME: no such file
sh: can't open CNAME: no such file
RTNETLINK answers: File exists
sh: can't open CNAME: no such file
RTNETLINK answers: File exists
sh: can't open CNAME: no such file
Error: any valid prefix is expected rather than "NODATA-IPv6".
sh: can't open CNAME: no such file
sh: can't open CNAME: no such file
sh: can't open CNAME: no such file
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
sh: can't open CNAME: no such file
sh: can't open CNAME: no such file
sh: can't open CNAME: no such file
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
sh: can't open CNAME: no such file
RTNETLINK answers: File exists
sh: can't open CNAME: no such file
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists

有CNAME的解析,没有被识别

Wed Jan 5 19:53:47 2022 daemon.info dnsmasq[20294]: 17 192.168.1.101/17315 query[A] www.facebook.com from 192.168.54.101
Wed Jan 5 19:53:47 2022 daemon.info dnsmasq[20294]: 17 192.168.1.101/17315 cached www.facebook.com is <CNAME>
Wed Jan 5 19:53:47 2022 daemon.info dnsmasq[20294]: 17 192.168.1.101/17315 forwarded www.facebook.com to 10.7.0.1
Wed Jan 5 19:53:47 2022 daemon.info dnsmasq[20294]: 17 192.168.1.101/17315 forwarded www.facebook.com to 10.7.0.1
Wed Jan 5 19:53:47 2022 daemon.info dnsmasq[20294]: 17 192.168.1.101/17315 forwarded www.facebook.com to 10.7.0.1
Wed Jan 5 19:53:47 2022 daemon.info dnsmasq[20294]: 17 192.168.1.101/17315 reply www.facebook.com is <CNAME>
Wed Jan 5 19:53:47 2022 daemon.info dnsmasq[20294]: 17 192.168.1.101/17315 reply star-mini.c10r.facebook.com is 157.240.11.35

运行过程中, 会定时丢失 route 路由项

经过检查, 发现是网卡断线, 造成路由项被清零,
可以用多路由方式, 代替主路由表的方式。
比如建立一个路由表,
ip route add default via {gateway_1} table 107 ; 107路由表
然后把路由项放进这个路由表, 断线就不会清除了。
ip ru add to {remote_ip} lookup 107

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.