V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
• 外包信息请发到 /go/outsourcing 节点。
• 不要把相同的信息发到不同的节点
jamiroquai
V2EX  ›  酷工作

诚心求搞 DNS 的大牛

  •  
  •   jamiroquai · 2018-08-21 16:00:01 +08:00 · 2168 次点击
    这是一个创建于 2315 天前的主题,其中的信息可能已经有所发展或是发生改变。

    坂田大厂急招,最主要是如下的几个要求: 1.40 岁以下,本 5 研 4 ; 2.精通 Bind DNS,有 DNS 二次开发经验者更佳 3.熟练使用 powershell,shell,python

    有意者请联系微信 Fallon_Allen

    4 条回复    2018-08-23 08:36:11 +08:00
    ps1aniuge
        1
    ps1aniuge  
       2018-08-21 16:14:31 +08:00
    5 为什么用 win 的 dns ?
    答:
    5.1 主要因为有 powershell。
    我记得 bind 无法用命令添加 a 记录等,并立即生效。这样的话拍马也赶不上 powershell 了!你要搞个程序去修改 dns 区域文件,然后 reload 分区。这样性能很差吧。
    powershell 命令管理 dns 是内存操作。主要用到的命令就这四个:
    Add-DnsServerResourceRecordA,Add-DnsServerResourceRecordCName,Get-DnsServerResourceRecord,Remove-DnsServerResourceRecord

    5.2 win 的 dns 性能无问题:我记得 bind 是多进程的程序,可以用多核跑,无性能制约。而 win2000 中说 win 的 dns 比 bind 效率高。
    dns 还都是 10 年前都成熟的东西。退一万步来讲,win 的 dns 玩一千个以下的 ip 解析,不会有性能问题。

    5.3 可以用 win 做主 dns 服务器,linux+bind 做缓存。win 放内网,linux 放外网,只从外网 dns 缓存取数据。


    ------------------------win2012r2 中,用 powershell 管理 dns 服务器的,命令列表--------------------------------
    共计 100 条指令,即 100 招,下面演示如何用其中 4 招秒杀 bind 的。

    PS C:\Users\admin> get-command * -module DnsServer

    CommandType Name ModuleName
    ----------- ---- ----------
    Alias Export-DnsServerTrustAnchor DnsServer
    Function Add-DnsServerConditionalForwarderZone DnsServer
    Function Add-DnsServerDirectoryPartition DnsServer
    Function Add-DnsServerForwarder DnsServer
    Function Add-DnsServerPrimaryZone DnsServer
    Function Add-DnsServerResourceRecord DnsServer
    Function Add-DnsServerResourceRecordA DnsServer
    Function Add-DnsServerResourceRecordAAAA DnsServer
    Function Add-DnsServerResourceRecordCName DnsServer
    Function Add-DnsServerResourceRecordDnsKey DnsServer
    Function Add-DnsServerResourceRecordDS DnsServer
    Function Add-DnsServerResourceRecordMX DnsServer
    Function Add-DnsServerResourceRecordPtr DnsServer
    Function Add-DnsServerRootHint DnsServer
    Function Add-DnsServerSecondaryZone DnsServer
    Function Add-DnsServerSigningKey DnsServer
    Function Add-DnsServerStubZone DnsServer
    Function Add-DnsServerTrustAnchor DnsServer
    Function Add-DnsServerZoneDelegation DnsServer
    Function Clear-DnsServerCache DnsServer
    Function Clear-DnsServerStatistics DnsServer
    Function ConvertTo-DnsServerPrimaryZone DnsServer
    Function ConvertTo-DnsServerSecondaryZone DnsServer
    Function Disable-DnsServerSigningKeyRollover DnsServer
    Function Enable-DnsServerSigningKeyRollover DnsServer
    Function Export-DnsServerDnsSecPublicKey DnsServer
    Function Export-DnsServerZone DnsServer
    Function Get-DnsServer DnsServer
    Function Get-DnsServerCache DnsServer
    Function Get-DnsServerDiagnostics DnsServer
    Function Get-DnsServerDirectoryPartition DnsServer
    Function Get-DnsServerDnsSecZoneSetting DnsServer
    Function Get-DnsServerDsSetting DnsServer
    Function Get-DnsServerEDns DnsServer
    Function Get-DnsServerForwarder DnsServer
    Function Get-DnsServerGlobalNameZone DnsServer
    Function Get-DnsServerGlobalQueryBlockList DnsServer
    Function Get-DnsServerRecursion DnsServer
    Function Get-DnsServerResourceRecord DnsServer
    Function Get-DnsServerRootHint DnsServer
    Function Get-DnsServerScavenging DnsServer
    Function Get-DnsServerSetting DnsServer
    Function Get-DnsServerSigningKey DnsServer
    Function Get-DnsServerStatistics DnsServer
    Function Get-DnsServerTrustAnchor DnsServer
    Function Get-DnsServerTrustPoint DnsServer
    Function Get-DnsServerZone DnsServer
    Function Get-DnsServerZoneAging DnsServer
    Function Get-DnsServerZoneDelegation DnsServer
    powershell 传教士 原创文章 2015-11-25 改允许转载,但必须保留名字和出处,否则追究法律责任
    Function Import-DnsServerResourceRecordDS DnsServer
    Function Import-DnsServerRootHint DnsServer
    Function Import-DnsServerTrustAnchor DnsServer
    Function Invoke-DnsServerSigningKeyRollover DnsServer
    Function Invoke-DnsServerZoneSign DnsServer
    Function Invoke-DnsServerZoneUnsign DnsServer
    Function Register-DnsServerDirectoryPartition DnsServer
    Function Remove-DnsServerDirectoryPartition DnsServer
    Function Remove-DnsServerForwarder DnsServer
    Function Remove-DnsServerResourceRecord DnsServer
    Function Remove-DnsServerRootHint DnsServer
    Function Remove-DnsServerSigningKey DnsServer
    Function Remove-DnsServerTrustAnchor DnsServer
    Function Remove-DnsServerZone DnsServer
    Function Remove-DnsServerZoneDelegation DnsServer
    Function Reset-DnsServerZoneKeyMasterRole DnsServer
    Function Restore-DnsServerPrimaryZone DnsServer
    Function Restore-DnsServerSecondaryZone DnsServer
    Function Resume-DnsServerZone DnsServer
    Function Set-DnsServer DnsServer
    Function Set-DnsServerCache DnsServer
    Function Set-DnsServerConditionalForwarderZone DnsServer
    Function Set-DnsServerDiagnostics DnsServer
    Function Set-DnsServerDnsSecZoneSetting DnsServer
    Function Set-DnsServerDsSetting DnsServer
    Function Set-DnsServerEDns DnsServer
    Function Set-DnsServerForwarder DnsServer
    Function Set-DnsServerGlobalNameZone DnsServer
    Function Set-DnsServerGlobalQueryBlockList DnsServer
    Function Set-DnsServerPrimaryZone DnsServer
    Function Set-DnsServerRecursion DnsServer
    Function Set-DnsServerResourceRecord DnsServer
    Function Set-DnsServerResourceRecordAging DnsServer
    Function Set-DnsServerRootHint DnsServer
    Function Set-DnsServerScavenging DnsServer
    Function Set-DnsServerSecondaryZone DnsServer
    Function Set-DnsServerSetting DnsServer
    Function Set-DnsServerSigningKey DnsServer
    Function Set-DnsServerStubZone DnsServer
    Function Set-DnsServerZoneAging DnsServer
    Function Set-DnsServerZoneDelegation DnsServer
    Function Show-DnsServerCache DnsServer
    Function Show-DnsServerKeyStorageProvider DnsServer
    Function Start-DnsServerScavenging DnsServer
    Function Start-DnsServerZoneTransfer DnsServer
    Function Step-DnsServerSigningKeyRollover DnsServer
    Function Suspend-DnsServerZone DnsServer
    Function Sync-DnsServerZone DnsServer
    Function Test-DnsServer DnsServer
    Function Test-DnsServerDnsSecZoneSetting DnsServer
    Function Unregister-DnsServerDirectoryPartition DnsServer
    Function Update-DnsServerTrustPoint DnsServer

    手册在:
    https://technet.microsoft.com/library/jj649850(v=wps.630).aspx
    defunct9
        2
    defunct9  
       2018-08-21 16:14:57 +08:00
    坂田大厂是个什么梗
    jamiroquai
        3
    jamiroquai  
    OP
       2018-08-21 16:20:09 +08:00
    @defunct9 就是华为^_^
    purezhang
        4
    purezhang  
       2018-08-23 08:36:11 +08:00 via iPhone
    华为开始用 win dns 了?
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   5905 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 03:10 · PVG 11:10 · LAX 19:10 · JFK 22:10
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.