V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
azure2023us559
V2EX  ›  问与答

bind9 view 匹配时,如果其中一个线路没有配置 A 记录,如何从默认线路获取 A 记录

  •  
  •   azure2023us559 · 2023-04-22 14:50:00 +08:00 · 498 次点击
    这是一个创建于 883 天前的主题,其中的信息可能已经有所发展或是发生改变。

    RT ,

    用 bind9 view 做线路匹配时,发现,一但根据 client ip 匹配到相应的 view ,就去找相应的 file 文件,如果这个 file 没有没有配置 A 记录,返回为空。不会自动再继续往下匹配 default view

    如:移动线路 配置了 1.spacex.com , 而没有配置 2.spacex.com2.spacex.com 放在了 default 线路里。

    那么,当我用移动的 client 去请求 2.spacex.com 时,返回为空。

    QA ,如何实现匹配不到时,继续向下匹配?

    目前尚无回复
    关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2542 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 22ms · UTC 11:37 · PVG 19:37 · LAX 04:37 · JFK 07:37
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.