1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009 |
- <!DOCTYPE html>
- <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta charset="utf-8" />
- <meta name="robots" content="noindex, nofollow" />
- <title>Technitium DNS Server</title>
- <script src="/js/jquery.min.js"></script>
- <link href="/css/bootstrap.min.css" rel="stylesheet">
- <script src="/js/bootstrap.min.js"></script>
- <script src="/js/Chart.min.js"></script>
- <link href="/css/font-awesome.min.css" rel="stylesheet" />
- <link href="/css/jquery-ui.min.css" rel="stylesheet">
- <script src="/js/jquery-ui.min.js"></script>
- <script src="/js/moment.min.js"></script>
- <script src="/js/bootstrap-datetimepicker.min.js"></script>
- <link rel="stylesheet" href="/css/bootstrap-datetimepicker.min.css">
- <link href="/css/main.css" rel="stylesheet" />
- <script src="/js/common.js"></script>
- <script src="/js/main.js"></script>
- <script src="/js/zone.js"></script>
- <script src="/js/other-zones.js"></script>
- <script src="/js/apps.js"></script>
- <script src="/js/dhcp.js"></script>
- <script src="/js/logs.js"></script>
- </head>
- <body>
- <div id="header">
- <div id="mnuUser" class="menu dropdown" style="display: none;">
- <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
- <span class="menu-title">
- <span class="glyphicon glyphicon-user" aria-hidden="true"></span>
- <span id="mnuUserDisplayName"></span>
- <span class="caret"></span>
- </span>
- </a>
- <ul class="dropdown-menu">
- <li><a href="#" onclick="resetChangePasswordModal(); return false;" data-toggle="modal" data-target="#modalChangePassword">Change Password</a></li>
- <li><a href="#" onclick="logout(); return false;">Logout</a></li>
- </ul>
- </div>
- </div>
- <div id="content">
- <div class="container">
- <div class="AlertPlaceholder"></div>
- <div id="pageLogin" class="pageLogin">
- <div class="panel panel-default">
- <div class="panel-heading">
- <h3 class="panel-title">DNS Server</h3>
- </div>
- <div class="panel-body">
- <form class="form-horizontal">
- <div class="form-group">
- <label for="txtUser" class="col-sm-3 control-label">Username</label>
- <div class="col-sm-8">
- <input type="text" class="form-control" id="txtUser" placeholder="username">
- </div>
- </div>
- <div class="form-group">
- <label for="txtPass" class="col-sm-3 control-label">Password</label>
- <div class="col-sm-8">
- <input type="password" class="form-control" id="txtPass" placeholder="password">
- </div>
- </div>
- <div class="form-group" style="margin-bottom: 0px;">
- <div class="col-sm-offset-3 col-sm-4">
- <button id="btnLogin" type="submit" class="btn btn-primary" data-loading-text="Working..." onclick="login(); return false;">Login</button>
- </div>
- <div class="col-sm-4" style="padding: 6px; text-align: right;">
- <a href="#" data-toggle="modal" data-target="#modalForgotPassword">Forgot Password?</a>
- </div>
- </div>
- </form>
- </div>
- </div>
- </div>
- <div id="pageMain" class="page">
- <div class="panel panel-default">
- <div class="panel-heading" style="height: 38px;">
- <div style="float: left;">
- <h3 class="panel-title">DNS Server<span id="lblDnsServerDomain"></span></h3>
- </div>
- <div style="float: right;">
- <a href="#" data-toggle="modal" data-target="#modalUpdateAvailable" id="lnkUpdateAvailable" style="display: none; color: red !important;">New Update Available!</a>
- </div>
- </div>
- <div class="panel-body" style="min-height: 500px;">
- <div>
- <ul class="nav nav-tabs" role="tablist">
- <li id="mainPanelTabListDashboard" role="presentation" class="active"><a href="#mainPanelTabPaneDashboard" aria-controls="mainPanelTabPaneDashboard" role="tab" data-toggle="tab" onclick="refreshDashboard();">Dashboard</a></li>
- <li id="mainPanelTabListZones" role="presentation"><a href="#mainPanelTabPaneZones" aria-controls="mainPanelTabPaneZones" role="tab" data-toggle="tab" onclick="refreshZones(true);">Zones</a></li>
- <li id="mainPanelTabListCachedZones" role="presentation"><a href="#mainPanelTabPaneCachedZones" aria-controls="mainPanelTabPaneCachedZones" role="tab" data-toggle="tab">Cache</a></li>
- <li id="mainPanelTabListAllowedZones" role="presentation"><a href="#mainPanelTabPaneAllowedZones" aria-controls="mainPanelTabPaneAllowedZones" role="tab" data-toggle="tab">Allowed</a></li>
- <li id="mainPanelTabListBlockedZones" role="presentation"><a href="#mainPanelTabPaneBlockedZones" aria-controls="mainPanelTabPaneBlockedZones" role="tab" data-toggle="tab">Blocked</a></li>
- <li id="mainPanelTabListApps" role="presentation"><a href="#mainPanelTabPaneApps" aria-controls="mainPanelTabPaneApps" role="tab" data-toggle="tab" onclick="refreshApps();">Apps</a></li>
- <li id="mainPanelTabListDnsClient" role="presentation"><a href="#mainPanelTabPaneDnsClient" aria-controls="mainPanelTabPaneDnsClient" role="tab" data-toggle="tab">DNS Client</a></li>
- <li id="mainPanelTabListSettings" role="presentation"><a href="#mainPanelTabPaneSettings" aria-controls="mainPanelTabPaneSettings" role="tab" data-toggle="tab" onclick="loadDnsSettings();">Settings</a></li>
- <li id="mainPanelTabListDhcp" role="presentation"><a href="#mainPanelTabPaneDhcp" aria-controls="mainPanelTabPaneDhcp" role="tab" data-toggle="tab" onclick="refreshDhcpTab();">DHCP</a></li>
- <li id="mainPanelTabListLogs" role="presentation"><a href="#mainPanelTabPaneLogs" aria-controls="mainPanelTabPaneLogs" role="tab" data-toggle="tab" onclick="refreshLogsTab();">Logs</a></li>
- <li id="mainPanelTabListAbout" role="presentation"><a href="#mainPanelTabPaneAbout" aria-controls="mainPanelTabPaneAbout" role="tab" data-toggle="tab">About</a></li>
- </ul>
- <div class="tab-content">
- <div id="mainPanelTabPaneDashboard" role="tabpanel" class="tab-pane active" style="padding: 10px 0 0 0;">
- <div>
- <div class="pull-left">
- <div class="btn-group" data-toggle="buttons">
- <label class="btn btn-default active">
- <input type="radio" name="rdStatType" value="lastHour" autocomplete="off" checked> Last Hour
- </label>
- <label class="btn btn-default">
- <input type="radio" name="rdStatType" value="lastDay" autocomplete="off"> Last Day
- </label>
- <label class="btn btn-default">
- <input type="radio" name="rdStatType" value="lastWeek" autocomplete="off"> Last Week
- </label>
- <label class="btn btn-default">
- <input type="radio" name="rdStatType" value="lastMonth" autocomplete="off"> Last Month
- </label>
- <label class="btn btn-default">
- <input type="radio" name="rdStatType" value="lastYear" autocomplete="off"> Last Year
- </label>
- <label class="btn btn-default">
- <input type="radio" name="rdStatType" value="custom" autocomplete="off"> Custom
- </label>
- </div>
- </div>
- <div id="divCustomDayWise" class="pull-left" style="padding: 4px 0px 4px 10px; display: none;">
- <span style="margin-right: 6px;"><label for="dpCustomDayWiseStart">Start</label> <input type="text" id="dpCustomDayWiseStart" size="10"></span>
- <span style="margin-right: 6px;"><label for="dpCustomDayWiseEnd">End</label> <input type="text" id="dpCustomDayWiseEnd" size="10"></span>
- <button id="btnCustomDayWise" class="btn btn-default" type="button" style="font-size: 12px; padding: 3px 0px; width: 60px; vertical-align: top;">Show</button>
- </div>
- <div class="clearfix"></div>
- </div>
- <div id="divDashboardLoader" style="margin-top: 10px; height: 400px;"></div>
- <div id="divDashboard" style="display: none;">
- <div class="stats-panel">
- <div class="stats-item total-queries">
- <div class="number" id="divDashboardStatsTotalQueries">100</div>
- <div class="percentage">100%</div>
- <div class="title">Total Queries</div>
- </div>
- <div class="stats-item no-error">
- <div class="number" id="divDashboardStatsTotalNoError">70</div>
- <div class="percentage" id="divDashboardStatsTotalNoErrorPercentage">0%</div>
- <div class="title">No Error</div>
- </div>
- <div class="stats-item server-failure">
- <div class="number" id="divDashboardStatsTotalServerFailure">5</div>
- <div class="percentage" id="divDashboardStatsTotalServerFailurePercentage">0%</div>
- <div class="title">Server Failure</div>
- </div>
- <div class="stats-item name-error">
- <div class="number" id="divDashboardStatsTotalNxDomain">5</div>
- <div class="percentage" id="divDashboardStatsTotalNxDomainPercentage">0%</div>
- <div class="title">NX Domain</div>
- </div>
- <div class="stats-item refused">
- <div class="number" id="divDashboardStatsTotalRefused">10</div>
- <div class="percentage" id="divDashboardStatsTotalRefusedPercentage">0%</div>
- <div class="title">Refused</div>
- </div>
- <div class="stats-item auth-hit">
- <div class="number" id="divDashboardStatsTotalAuthHit">10</div>
- <div class="percentage" id="divDashboardStatsTotalAuthHitPercentage">0%</div>
- <div class="title">Authoritative</div>
- </div>
- <div class="stats-item recursions">
- <div class="number" id="divDashboardStatsTotalRecursions">10</div>
- <div class="percentage" id="divDashboardStatsTotalRecursionsPercentage">0%</div>
- <div class="title">Recursive</div>
- </div>
- <div class="stats-item cache-hit">
- <div class="number" id="divDashboardStatsTotalCacheHit">10</div>
- <div class="percentage" id="divDashboardStatsTotalCacheHitPercentage">0%</div>
- <div class="title">Cached</div>
- </div>
- <div class="stats-item blocked">
- <div class="number" id="divDashboardStatsTotalBlocked">10</div>
- <div class="percentage" id="divDashboardStatsTotalBlockedPercentage">0%</div>
- <div class="title">Blocked</div>
- </div>
- <div class="stats-item clients">
- <div class="number" id="divDashboardStatsTotalClients">10</div>
- <div class="percentage"> </div>
- <div class="title">Clients</div>
- </div>
- </div>
- <div>
- <canvas id="canvasDashboardMain" style="margin: 10px 0 10px 0;"></canvas>
- </div>
- <div style="margin-top: 15px;">
- <div style="float: left; width: 50%; padding-right: 7px;">
- <div id="divPieCharts" class="panel panel-default" style="margin-bottom: 0px;">
- <div class="panel-body">
- <div class="zone-stats-panel">
- <div class="stats-item zones">
- <div class="number" id="divDashboardStatsZones">10</div>
- <div class="title">Zones</div>
- </div>
- <div class="stats-item allowed-zones">
- <div class="number" id="divDashboardStatsAllowedZones">10</div>
- <div class="title">Allowed Zones</div>
- </div>
- <div class="stats-item blocked-zones">
- <div class="number" id="divDashboardStatsBlockedZones">10</div>
- <div class="title">Blocked Zones</div>
- </div>
- <div class="stats-item block-list-zones">
- <div class="number" id="divDashboardStatsBlockListZones">10</div>
- <div class="title">Block List Zones</div>
- </div>
- </div>
- <div style="margin-bottom: 20px;">
- <canvas id="canvasDashboardPie"></canvas>
- </div>
- <div>
- <canvas id="canvasDashboardPie2"></canvas>
- </div>
- </div>
- </div>
- </div>
- <div style="float: right; width: 50%; padding-left: 7px;">
- <div class="panel panel-default" style="margin-bottom: 0px;">
- <div class="panel-heading">
- <div class="pull-left">Top Clients</div>
- <div class="pull-right"><a href="#" onclick="showTopStats('TopClients', 1000); return false;">[more]</a></div>
- <div class="clearfix"></div>
- </div>
- <table class="table table-hover">
- <thead>
- <tr>
- <th>Client</th>
- <th>Queries</th>
- </tr>
- </thead>
- <tbody id="tableTopClients">
- </tbody>
- </table>
- </div>
- </div>
- <div style="clear: both;"></div>
- </div>
- <div style="margin-top: 15px;">
- <div style="float: left; width: 50%; padding-right: 7px;">
- <div class="panel panel-default" style="margin-bottom: 0px;">
- <div class="panel-heading">
- <div class="pull-left">Top Domains</div>
- <div class="pull-right"><a href="#" onclick="showTopStats('TopDomains', 1000); return false;">[more]</a></div>
- <div class="clearfix"></div>
- </div>
- <table class="table table-hover">
- <thead>
- <tr>
- <th>Domain</th>
- <th>Hits</th>
- </tr>
- </thead>
- <tbody id="tableTopDomains">
- </tbody>
- </table>
- </div>
- </div>
- <div style="float: right; width: 50%; padding-left: 7px;">
- <div class="panel panel-default" style="margin-bottom: 0px;">
- <div class="panel-heading">
- <div class="pull-left">Top Blocked Domains</div>
- <div class="pull-right"><a href="#" onclick="showTopStats('TopBlockedDomains', 1000); return false;">[more]</a></div>
- <div class="clearfix"></div>
- </div>
- <table class="table table-hover">
- <thead>
- <tr>
- <th>Domain</th>
- <th>Hits</th>
- </tr>
- </thead>
- <tbody id="tableTopBlockedDomains">
- </tbody>
- </table>
- </div>
- </div>
- <div style="clear: both;"></div>
- </div>
- </div>
- </div>
- <div id="mainPanelTabPaneZones" role="tabpanel" class="tab-pane" style="padding: 10px 0 0 0;">
- <div id="divViewZonesLoader" style=" display: none; margin-top: 10px; height: 400px;"></div>
- <div id="divViewZones" style="margin-top: 10px;">
- <div>
- <div style="float: right;">
- <button type="button" class="btn btn-primary" style="padding: 2px 0px; width: 100px;" onclick="showAddZoneModal();">Add Zone</button>
- </div>
- <div style="clear: both;"></div>
- </div>
- <table id="tableZones" class="table table-hover">
- <thead>
- <tr>
- <th onclick="sortTable('tableZonesBody', 0);">Zone</th>
- <th onclick="sortTable('tableZonesBody', 1);">Type</th>
- <th onclick="sortTable('tableZonesBody', 2);">DNSSEC</th>
- <th onclick="sortTable('tableZonesBody', 3);">Status</th>
- <th onclick="sortTable('tableZonesBody', 4);">Expiry</th>
- <th></th>
- </tr>
- </thead>
- <tbody id="tableZonesBody">
- </tbody>
- <tfoot id="tableZonesFooter">
- <tr><td colspan="6"><b>Total Records: 0</b></td></tr>
- </tfoot>
- </table>
- </div>
- <div id="divEditZone" style="display: none;">
- <ul class="pager" style="margin: 0px;">
- <li class="previous"><a href="#" onclick="refreshZones(); return false;"><span aria-hidden="true">←</span> Back</a></li>
- </ul>
- <div style="padding: 10px 0px;">
- <h3 style="margin: 4px 0;"><span id="titleEditZone" style="margin-right: 10px;">example.com</span><a href="#" onclick="showEditZone($('#titleEditZone').text()); return false;"><span class="glyphicon glyphicon-refresh" style="font-size: 20px;" aria-hidden="true"></span></a></h3>
- <div style="float: left;">
- <span id="titleEditZoneType" class="label label-default">Primary</span>
- <span id="tdDnssecStatusEditZone" class="label label-default">DNSSEC</span>
- <span id="tdStatusEditZone" data-id="EditZone" class="label label-success">Enabled</span>
- <span id="titleEditZoneExpiry" style="font-size: 10px; font-weight: bold;">Expiry: 01 Jan 2020 00:00:00</span>
- </div>
- <div style="float: right; padding: 2px 0px;">
- <button id="btnEditZoneAddRecord" type="button" class="btn btn-primary" style="padding: 2px 0px; width: 100px;" onclick="showAddRecordModal(this);" data-loading-text="Loading...">Add Record</button>
- <button id="btnEnableZoneEditZone" data-id="EditZone" type="button" class="btn btn-default" style="padding: 2px 0px; width: 100px;" onclick="enableZone(this, $('#titleEditZone').text());">Enable Zone</button>
- <button id="btnDisableZoneEditZone" data-id="EditZone" type="button" class="btn btn-warning" style="padding: 2px 0px; width: 100px;" onclick="disableZone(this, $('#titleEditZone').text());">Disable Zone</button>
- <button id="btnEditZoneDeleteZone" type="button" class="btn btn-danger" style="padding: 2px 0px; width: 100px;" onclick="deleteZone(this, $('#titleEditZone').text(), true);">Delete Zone</button>
- <button id="btnZoneResync" type="button" class="btn btn-primary" style="padding: 2px 0px; width: 100px;" onclick="resyncZone(this, $('#titleEditZone').text());" data-loading-text="Resyncing...">Resync</button>
- <button id="btnZoneOptions" type="button" class="btn btn-primary" style="padding: 2px 0px; width: 100px;" onclick="showZoneOptionsModal($('#titleEditZone').text());">Options</button>
- <div id="divZoneDnssecOptions" class="btn-group">
- <button type="button" class="btn btn-primary dropdown-toggle" style="padding: 2px 0px; width: 100px;" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
- DNSSEC <span class="caret"></span>
- </button>
- <ul class="dropdown-menu">
- <li id="lnkZoneDnssecSignZone"><a href="#" onclick="showSignZoneModal($('#titleEditZone').text()); return false;">Sign Zone</a></li>
- <li id="lnkZoneDnssecProperties"><a href="#" onclick="showDnssecPropertiesModal($('#titleEditZone').text()); return false;">Properties</a></li>
- <li id="lnkZoneDnssecUnsignZone"><a href="#" onclick="showUnsignZoneModal($('#titleEditZone').text()); return false;">Unsign Zone</a></li>
- </ul>
- </div>
- </div>
- <div style="clear: both;"></div>
- </div>
- <table id="tableEditZone" class="table table-hover">
- <thead>
- <tr>
- <th onclick="sortTable('tableEditZoneBody', 0);">Name</th>
- <th onclick="sortTable('tableEditZoneBody', 1);">Type</th>
- <th onclick="sortTable('tableEditZoneBody', 2);">TTL</th>
- <th onclick="sortTable('tableEditZoneBody', 3);">Data</th>
- <th></th>
- </tr>
- </thead>
- <tbody id="tableEditZoneBody">
- </tbody>
- <tfoot id="tableEditZoneFooter">
- <tr><td><b>Total Records: 0</b></td></tr>
- </tfoot>
- </table>
- </div>
- </div>
- <div id="mainPanelTabPaneCachedZones" role="tabpanel" class="tab-pane" style="padding: 10px 0 0 0;">
- <div class="well well-sm zone-list-pane">
- <form class="form-inline">
- <div class="form-group" style="width: 100%">
- <input type="text" class="form-control" style="width: inherit;" id="txtCacheZone" placeholder="example.com">
- </div>
- <div class="form-group">
- <button id="btnBrowseCacheZone" type="submit" class="btn btn-primary" data-loading-text="Browse" onclick="refreshCachedZonesList($('#txtCacheZone').val()); return false;">Browse</button>
- </div>
- </form>
- <div id="lstCachedZones" class="zones">
- </div>
- </div>
- <div id="divCachedZoneViewer" class="zone-viewer-pane">
- <div class="panel panel-default">
- <div class="panel-heading" style="height: 36px; padding: 4px 6px;">
- <div id="txtCachedZoneViewerTitle" style="float: left; padding: 4px;">technitium.com</div>
- <div style="float: right;">
- <button id="btnDeleteCachedZone" type="button" class="btn btn-warning" data-loading-text="Delete" onclick="deleteCachedZone();" style="font-size: 12px; padding: 4px 6px;">Delete</button>
- <button type="button" class="btn btn-danger" data-loading-text="Delete" onclick="flushDnsCache(this);" style="font-size: 12px; padding: 4px 6px;">Flush</button>
- </div>
- </div>
- <div class="panel-body">
- <pre id="preCachedZoneViewerBody">
-
- </pre>
- </div>
- </div>
- </div>
- </div>
- <div id="mainPanelTabPaneAllowedZones" role="tabpanel" class="tab-pane" style="padding: 10px 0 0 0;">
- <div class="well well-sm zone-list-pane">
- <form class="form-inline">
- <div class="form-group" style="width: 100%">
- <input type="text" class="form-control" style="width: inherit;" id="txtAllowZone" placeholder="example.com">
- </div>
- <div class="form-group">
- <button id="btnAllowZone" type="submit" class="btn btn-primary" data-loading-text="Allow" onclick="allowZone(); return false;">Allow</button>
- <button id="btnBrowseAllowZone" type="button" class="btn btn-default" data-loading-text="Browse" onclick="refreshAllowedZonesList($('#txtAllowZone').val());">Browse</button>
- </div>
- </form>
- <div id="lstAllowedZones" class="zones">
- </div>
- </div>
- <div id="divAllowedZoneViewer" class="zone-viewer-pane">
- <div class="panel panel-default">
- <div class="panel-heading" style="height: 36px; padding: 4px 6px;">
- <div id="txtAllowedZoneViewerTitle" style="float: left; padding: 4px;">technitium.com</div>
- <div style="float: right;">
- <button type="button" class="btn btn-default" data-loading-text="Import" onclick="resetImportAllowedZonesModal();" data-toggle="modal" data-target="#modalImportAllowedZones" style="font-size: 12px; padding: 4px 6px;">Import</button>
- <button type="button" class="btn btn-default" data-loading-text="Export" onclick="exportAllowedZones();" style="font-size: 12px; padding: 4px 6px;">Export</button>
- <button id="btnDeleteAllowedZone" type="button" class="btn btn-warning" data-loading-text="Delete" onclick="deleteAllowedZone();" style="font-size: 12px; padding: 4px 6px;">Delete</button>
- <button id="btnFlushAllowedZone" type="button" class="btn btn-danger" data-loading-text="Flush" onclick="flushAllowedZone();" style="font-size: 12px; padding: 4px 6px;">Flush</button>
- </div>
- </div>
- <div class="panel-body">
- <pre id="preAllowedZoneViewerBody">
-
- </pre>
- </div>
- </div>
- </div>
- </div>
- <div id="mainPanelTabPaneBlockedZones" role="tabpanel" class="tab-pane" style="padding: 10px 0 0 0;">
- <div class="well well-sm zone-list-pane">
- <form class="form-inline">
- <div class="form-group" style="width: 100%">
- <input type="text" class="form-control" style="width: inherit;" id="txtBlockZone" placeholder="example.com">
- </div>
- <div class="form-group">
- <button id="btnBlockZone" type="submit" class="btn btn-primary" data-loading-text="Block" onclick="blockZone(); return false;">Block</button>
- <button id="btnBrowseBlockZone" type="button" class="btn btn-default" data-loading-text="Browse" onclick="refreshBlockedZonesList($('#txtBlockZone').val());">Browse</button>
- </div>
- </form>
- <div id="lstBlockedZones" class="zones">
- </div>
- </div>
- <div id="divBlockedZoneViewer" class="zone-viewer-pane">
- <div class="panel panel-default">
- <div class="panel-heading" style="height: 36px; padding: 4px 6px;">
- <div id="txtBlockedZoneViewerTitle" style="float: left; padding: 4px;">technitium.com</div>
- <div style="float: right;">
- <button id="btnImportBlockedZone" type="button" class="btn btn-default" data-loading-text="Import" onclick="resetImportBlockedZonesModal();" data-toggle="modal" data-target="#modalImportBlockedZones" style="font-size: 12px; padding: 4px 6px;">Import</button>
- <button id="btnExportBlockedZone" type="button" class="btn btn-default" data-loading-text="Export" onclick="exportBlockedZones();" style="font-size: 12px; padding: 4px 6px;">Export</button>
- <button id="btnDeleteBlockedZone" type="button" class="btn btn-warning" data-loading-text="Delete" onclick="deleteBlockedZone();" style="font-size: 12px; padding: 4px 6px;">Delete</button>
- <button id="btnFlushBlockedZone" type="button" class="btn btn-danger" data-loading-text="Flush" onclick="flushBlockedZone();" style="font-size: 12px; padding: 4px 6px;">Flush</button>
- </div>
- </div>
- <div class="panel-body">
- <pre id="preBlockedZoneViewerBody">
-
- </pre>
- </div>
- </div>
- </div>
- </div>
- <div id="mainPanelTabPaneApps" role="tabpanel" class="tab-pane" style="padding: 10px 0 0 0;">
- <div id="divViewAppsLoader" style=" display: none; margin-top: 10px; height: 400px;"></div>
- <div id="divViewApps" style="margin-top: 10px;">
- <div>
- <div style="float: right;">
- <button type="button" class="btn btn-primary" style="padding: 2px 0px; width: 100px;" onclick="showStoreAppsModal();">App Store</button>
- <button type="button" class="btn btn-primary" style="padding: 2px 0px; width: 100px;" onclick="showInstallAppModal();">Install</button>
- </div>
- <div style="clear: both;"></div>
- </div>
- <table id="tableApps" class="table table-hover">
- <thead>
- <tr>
- <th style="min-width: 100px;" onclick="sortTable('tableAppsBody', 0);">Installed Apps</th>
- <th style="width: 96px;"></th>
- </tr>
- </thead>
- <tbody id="tableAppsBody">
- </tbody>
- <tfoot id="tableAppsFooter">
- <tr><td colspan="3"><b>Total Apps: 0</b></td></tr>
- </tfoot>
- </table>
- </div>
- </div>
- <div id="mainPanelTabPaneDnsClient" role="tabpanel" class="tab-pane" style="padding: 10px 0 0 0;">
- <form class="form-inline well" style="padding-bottom: 6px;">
- <div class="form-group">
- <label for="txtDnsClientNameServer">Server</label>
- <div class="input-group dropdown">
- <input type="text" class="form-control dropdown-toggle" style="min-width: 230px; border-right: 0px;" id="txtDnsClientNameServer" value="This Server {this-server}">
- <ul id="optDnsClientNameServers" class="dropdown-menu" style="max-height: 500px; overflow-y: scroll;">
- <li><a href="#">This Server {this-server}</a></li>
- <li><a href="#">Recursive Query {recursive-resolver}</a></li>
- <li><a href="#">Cloudflare {1.1.1.1}</a></li>
- <li><a href="#">Cloudflare {1.0.0.1}</a></li>
- <li><a href="#">Cloudflare {[2606:4700:4700::1111]}</a></li>
- <li><a href="#">Cloudflare {[2606:4700:4700::1001]}</a></li>
- <li><a href="#">Cloudflare TLS {cloudflare-dns.com (1.1.1.1:853)}</a></li>
- <li><a href="#">Cloudflare TLS {cloudflare-dns.com (1.0.0.1:853)}</a></li>
- <li><a href="#">Cloudflare TLS {cloudflare-dns.com ([2606:4700:4700::1111]:853)}</a></li>
- <li><a href="#">Cloudflare TLS {cloudflare-dns.com ([2606:4700:4700::1001]:853)}</a></li>
- <li><a href="#">Cloudflare HTTPS {https://cloudflare-dns.com/dns-query (1.1.1.1)}</a></li>
- <li><a href="#">Cloudflare HTTPS-JSON {https://cloudflare-dns.com/dns-query (1.1.1.1)}</a></li>
- <li><a href="#">Google {8.8.8.8}</a></li>
- <li><a href="#">Google {8.8.4.4}</a></li>
- <li><a href="#">Google {[2001:4860:4860::8888]}</a></li>
- <li><a href="#">Google {[2001:4860:4860::8844]}</a></li>
- <li><a href="#">Google TLS {dns.google (8.8.8.8:853)}</a></li>
- <li><a href="#">Google TLS {dns.google (8.8.4.4:853)}</a></li>
- <li><a href="#">Google TLS {dns.google ([2001:4860:4860::8888]:853)}</a></li>
- <li><a href="#">Google TLS {dns.google ([2001:4860:4860::8844]:853)}</a></li>
- <li><a href="#">Google HTTPS {https://dns.google/dns-query (8.8.8.8)}</a></li>
- <li><a href="#">Google HTTPS-JSON {https://dns.google/resolve (8.8.8.8)}</a></li>
- <li><a href="#">Quad9 Secure {9.9.9.9}</a></li>
- <li><a href="#">Quad9 Secure {[2620:fe::fe]}</a></li>
- <li><a href="#">Quad9 Secure TLS {dns.quad9.net (9.9.9.9:853)}</a></li>
- <li><a href="#">Quad9 Secure TLS {dns.quad9.net ([2620:fe::fe]:853)}</a></li>
- <li><a href="#">Quad9 Secure HTTPS {https://dns.quad9.net/dns-query (9.9.9.9)}</a></li>
- <li><a href="#">Quad9 Unsecure {9.9.9.10}</a></li>
- <li><a href="#">Quad9 Unsecure {[2620:fe::10]}</a></li>
- <li><a href="#">Quad9 Unsecure TLS {dns10.quad9.net (9.9.9.10:853)}</a></li>
- <li><a href="#">Quad9 Unsecure TLS {dns10.quad9.net ([2620:fe::10]:853)}</a></li>
- <li><a href="#">Quad9 Unsecure HTTPS {https://dns10.quad9.net/dns-query (9.9.9.10)}</a></li>
- <li><a href="#">OpenDNS {208.67.222.222}</a></li>
- <li><a href="#">OpenDNS {208.67.220.220}</a></li>
- <li><a href="#">OpenDNS {[2620:0:ccc::2]}</a></li>
- <li><a href="#">OpenDNS {[2620:0:ccd::2]}</a></li>
- <li><a href="#">OpenDNS FamilyShield {208.67.222.123}</a></li>
- <li><a href="#">OpenDNS FamilyShield {208.67.220.123}</a></li>
- <li><a href="#">Level3 {4.2.2.1}</a></li>
- <li><a href="#">Level3 {4.2.2.2}</a></li>
- <li><a href="#">Ultra {156.154.70.1}</a></li>
- <li><a href="#">Ultra {156.154.71.1}</a></li>
- <li><a href="#">Dyn {216.146.35.35}</a></li>
- <li><a href="#">Dyn {216.146.36.36}</a></li>
- <li><a href="#">a.root-servers.net</a></li>
- <li><a href="#">b.root-servers.net</a></li>
- <li><a href="#">c.root-servers.net</a></li>
- <li><a href="#">d.root-servers.net</a></li>
- <li><a href="#">e.root-servers.net</a></li>
- <li><a href="#">f.root-servers.net</a></li>
- <li><a href="#">g.root-servers.net</a></li>
- <li><a href="#">h.root-servers.net</a></li>
- <li><a href="#">i.root-servers.net</a></li>
- <li><a href="#">j.root-servers.net</a></li>
- <li><a href="#">k.root-servers.net</a></li>
- <li><a href="#">l.root-servers.net</a></li>
- <li><a href="#">m.root-servers.net</a></li>
- </ul>
- <span role="button" class="input-group-addon dropdown-toggle" style="background-color: white;" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><span class="caret"></span></span>
- </div>
- </div>
- <div class="form-group">
- <label for="txtDnsClientDomain">Domain</label>
- <input type="text" class="form-control" style="min-width: 240px;" id="txtDnsClientDomain" placeholder="example.com">
- </div>
- <div class="form-group">
- <label for="optDnsClientType">Type</label>
- <select class="form-control" id="optDnsClientType" style="padding-left: 6px; padding-right: 0px;">
- <option>A</option>
- <option>NS</option>
- <option>CNAME</option>
- <option>SOA</option>
- <option>PTR</option>
- <option>MX</option>
- <option>TXT</option>
- <option>AAAA</option>
- <option>SRV</option>
- <option>DNAME</option>
- <option>DS</option>
- <option>RRSIG</option>
- <option>NSEC</option>
- <option>DNSKEY</option>
- <option>NSEC3</option>
- <option>NSEC3PARAM</option>
- <option>CAA</option>
- <option>ANY</option>
- <option>AXFR</option>
- <option>ANAME</option>
- </select>
- </div>
- <div class="form-group">
- <label for="optDnsClientProtocol">DNS-over-</label>
- <select class="form-control" id="optDnsClientProtocol" style="padding-left: 6px; padding-right: 0px;">
- <option>UDP</option>
- <option>TCP</option>
- <option>TLS</option>
- <option value="Https">HTTPS</option>
- <option value="HttpsJson">HTTPS (JSON)</option>
- </select>
- </div>
- <div class="form-group">
- <button type="submit" class="btn btn-primary" id="btnDnsClientResolve" data-loading-text="Resolving..." onclick="resolveQuery(); return false;" style="margin-right: 6px;">Resolve</button>
- <button type="button" class="btn btn-warning" id="btnDnsClientImport" data-loading-text="Importing..." onclick="resolveQuery(true);">Import</button>
- </div>
- <div class="form-group">
- <div class="checkbox">
- <label>
- <input type="checkbox" id="chkDnsClientDnssecValidation"> Enable DNSSEC Validation
- </label>
- </div>
- </div>
- </form>
- <div id="divDnsClientLoader" style="margin-top: 20px; height: 300px;"></div>
- <pre id="preDnsClientOutput" style="display: none;"></pre>
- </div>
- <div id="mainPanelTabPaneSettings" role="tabpanel" class="tab-pane">
- <div id="divDnsSettingsLoader" style="margin-top: 10px; height: 400px;"></div>
- <div id="divDnsSettings" style="display: none;">
- <form style="margin-top: 10px;" onsubmit="return false;">
- <ul class="nav nav-tabs" role="tablist">
- <li id="settingsTabListGeneral" role="presentation" class="active"><a href="#settingsTabPaneGeneral" aria-controls="settingsTabPaneGeneral" role="tab" data-toggle="tab">General</a></li>
- <li id="settingsTabListWebService" role="presentation"><a href="#settingsTabPaneWebService" aria-controls="settingsTabPaneWebService" role="tab" data-toggle="tab">Web Service</a></li>
- <li id="settingsTabListOptionalProtocols" role="presentation"><a href="#settingsTabPaneOptionalProtocols" aria-controls="settingsTabPaneOptionalProtocols" role="tab" data-toggle="tab">Optional Protocols</a></li>
- <li id="settingsTabListTsig" role="presentation"><a href="#settingsTabPaneTsig" aria-controls="settingsTabPaneTsig" role="tab" data-toggle="tab">TSIG</a></li>
- <li id="settingsTabListRecursion" role="presentation"><a href="#settingsTabPaneRecursion" aria-controls="settingsTabPaneRecursion" role="tab" data-toggle="tab">Recursion</a></li>
- <li id="settingsTabListCache" role="presentation"><a href="#settingsTabPaneCache" aria-controls="settingsTabPaneCache" role="tab" data-toggle="tab">Cache</a></li>
- <li id="settingsTabListBlocking" role="presentation"><a href="#settingsTabPaneBlocking" aria-controls="settingsTabPaneBlocking" role="tab" data-toggle="tab">Blocking</a></li>
- <li id="settingsTabListProxyForwarders" role="presentation"><a href="#settingsTabPaneProxyForwarders" aria-controls="settingsTabPaneProxyForwarders" role="tab" data-toggle="tab">Proxy & Forwarders</a></li>
- <li id="settingsTabListLogging" role="presentation"><a href="#settingsTabPaneLogging" aria-controls="settingsTabPaneLogging" role="tab" data-toggle="tab">Logging</a></li>
- </ul>
- <div class="tab-content" style="min-height: 350px; padding-top: 15px;">
- <div id="settingsTabPaneGeneral" role="tabpanel" class="tab-pane active">
- <div class="well well-sm form-horizontal">
- <div class="form-group">
- <label for="txtDnsServerDomain" class="col-sm-3 control-label">DNS Server Domain</label>
- <div class="col-sm-6">
- <input type="text" class="form-control" id="txtDnsServerDomain" placeholder="domain name">
- </div>
- <div class="col-sm-offset-3 col-sm-8" style="padding-top: 5px;">The primary fully qualified domain name used by this DNS Server to identify itself.</div>
- </div>
- <div class="form-group">
- <label for="txtDnsServerLocalEndPoints" class="col-sm-3 control-label">DNS Server Local End Points</label>
- <div class="col-sm-6">
- <textarea id="txtDnsServerLocalEndPoints" class="form-control" rows="3" spellcheck="false"></textarea>
- </div>
- <div class="col-sm-offset-3 col-sm-8" style="padding-top: 5px;">Local end points are the network interface IP addresses and ports you want the DNS Server to listen for requests. The default values work for most scenarios so, do not change these defaults unless you have a requirement for the DNS server to listen on specific networks or ports.</div>
- </div>
- <div>Note! The DNS Server local end point changes will be automatically applied and so you do not need to manually restart the main service.</div>
- </div>
- <div class="well well-sm form-horizontal">
- <div class="form-group">
- <label for="txtDefaultRecordTtl" class="col-sm-3 control-label">Default Record TTL</label>
- <div class="col-sm-6">
- <input type="number" class="form-control" id="txtDefaultRecordTtl" placeholder="TTL" style="width: 100px; display: inline;">
- <span>seconds (default 3600)</span>
- </div>
- <div class="col-sm-offset-3 col-sm-8" style="padding-top: 5px;">The default TTL value to use if not specified when adding or updating records in a Zone.</div>
- </div>
- </div>
- <div class="well well-sm form-horizontal">
- <div class="form-group">
- <label class="col-sm-3 control-label">IPv6 Support</label>
- <div class="col-sm-8">
- <div class="checkbox">
- <label>
- <input id="chkPreferIPv6" type="checkbox"> Prefer IPv6
- </label>
- </div>
- <div style="padding-top: 5px; padding-left: 20px;">DNS Server will use IPv6 for querying whenever possible with this option enabled.</div>
- </div>
- </div>
- <div>Warning! Use this option only if this DNS server has native IPv6 Internet access otherwise it will affect performance.</div>
- </div>
- <div class="well well-sm form-horizontal">
- <div class="form-group">
- <label for="txtEdnsUdpPayloadSize" class="col-sm-3 control-label">EDNS UDP Payload Size</label>
- <div class="col-sm-6">
- <input type="number" class="form-control" id="txtEdnsUdpPayloadSize" placeholder="size" style="width: 100px; display: inline;">
- <span>bytes (valid range 512-4096; default 1232)</span>
- </div>
- <div class="col-sm-offset-3 col-sm-8" style="padding-top: 5px;">The maximum UDP payload size that can be used to avoid IP fragmentation.</div>
- </div>
- </div>
- <div class="well well-sm form-horizontal">
- <div class="form-group">
- <label class="col-sm-3 control-label">DNSSEC</label>
- <div class="col-sm-8">
- <div class="checkbox">
- <label>
- <input id="chkDnssecValidation" type="checkbox"> Enable DNSSEC Validation
- </label>
- </div>
- <div style="padding-top: 5px; padding-left: 20px;">DNS Server will validate all responses from name servers or forwarders when this option is enabled.</div>
- </div>
- </div>
- <div>
- <p>Warning! Devices that do not have a real-time clock and rely on NTP when booting (e.g. Raspberry Pi), enabling DNSSEC validation will cause failure to resolve the NTP server domain name thus causing the DNS server to fail to validate all other domain names too due to invalid system date/time. To fix this issue, just create a Conditional Forwarder zone for the NTP server domain name (e.g. ntp.org) with forwarder set to <code>this-server</code> and Enable DNSSEC Validation option unchecked. This conditional forwarder zone will disable DNSSEC validation for the NTP server domain name and allow the device to update its system data/time on boot.</p>
- <p>Warning! When forwarders are configured, DNSSEC validation will work only if the forwarders are security aware i.e. can respond to DNSSEC requests correctly.</p>
- <p>Note! Enabling DNSSEC may increase delays in resolving domain names when the cache is initially empty. As the cache fills up, the performance will be normal as expected.</p>
- </div>
- </div>
- <div class="well well-sm form-horizontal">
- <div class="form-group">
- <label for="txtQpmLimitRequests" class="col-sm-3 control-label">Queries Per Minute (QPM) Limit (Requests)</label>
- <div class="col-sm-6">
- <input type="number" class="form-control" id="txtQpmLimitRequests" placeholder="limit" style="width: 100px; display: inline;">
- <span>(set 0 to disable)</span>
- </div>
- <div class="col-sm-offset-3 col-sm-8" style="padding-top: 5px;">The maximum queries a client subnet can make per minute on average based on the sample size.</div>
- </div>
- <div class="form-group">
- <label for="txtQpmLimitErrors" class="col-sm-3 control-label">Queries Per Minute (QPM) Limit (Errors)</label>
- <div class="col-sm-6">
- <input type="number" class="form-control" id="txtQpmLimitErrors" placeholder="limit" style="width: 100px; display: inline;">
- <span>(set 0 to disable)</span>
- </div>
- <div class="col-sm-offset-3 col-sm-8" style="padding-top: 5px;">The maximum queries that generate an error response a client subnet can make per minute on average based on the sample size. Responses with RCODE as FormatError, ServerFailure, or Refused are considered as error responses.</div>
- </div>
- <div class="form-group">
- <label for="txtQpmLimitSampleMinutes" class="col-sm-3 control-label">QPM Sample Size</label>
- <div class="col-sm-8">
- <input type="number" class="form-control" id="txtQpmLimitSampleMinutes" placeholder="sample" style="width: 100px; display: inline;">
- <span>minutes (valid range 1-60; default 5)</span>
- </div>
- <div class="col-sm-offset-3 col-sm-8" style="padding-top: 5px;">The sample size in minutes to be used for limiting queries per client.</div>
- </div>
- <div class="form-group">
- <label for="txtQpmLimitIPv4PrefixLength" class="col-sm-3 control-label">QPM Limit IPv4 Prefix Length</label>
- <div class="col-sm-6">
- <input type="number" class="form-control" id="txtQpmLimitIPv4PrefixLength" placeholder="prefix" style="width: 100px; display: inline;">
- <span>(valid range 0-32; default 24)</span>
- </div>
- <div class="col-sm-offset-3 col-sm-8" style="padding-top: 5px;">The IPv4 prefix length to define the client subnet.</div>
- </div>
- <div class="form-group">
- <label for="txtQpmLimitIPv6PrefixLength" class="col-sm-3 control-label">QPM Limit IPv6 Prefix Length</label>
- <div class="col-sm-6">
- <input type="number" class="form-control" id="txtQpmLimitIPv6PrefixLength" placeholder="prefix" style="width: 100px; display: inline;">
- <span>(valid range 0-64; default 56)</span>
- </div>
- <div class="col-sm-offset-3 col-sm-8" style="padding-top: 5px;">The IPv6 prefix length to define the client subnet.</div>
- </div>
- <div>Note! Queries Per Minute (QPM) feature will limit requests from a client subnet based on its IP address and the specified subnet prefix lengths. The QPM limit configured will be compared with the average count from the sample size which means a client may exceed the QPM limit for a given minute but won't exceed for the given sample size in minutes.</div>
- </div>
- <div class="well well-sm form-horizontal">
- <div class="form-group">
- <label for="txtClientTimeout" class="col-sm-3 control-label">Client Timeout</label>
- <div class="col-sm-6">
- <input type="number" class="form-control" id="txtClientTimeout" placeholder="timeout" style="width: 100px; display: inline;">
- <span>milliseconds (valid range 1000-10000; default 4000)</span>
- </div>
- <div class="col-sm-offset-3 col-sm-8" style="padding-top: 5px;">The amount of time the DNS server must wait before responding with a <code>ServerFailure</code> response to a client request when no answer is available.</div>
- </div>
- <div class="form-group">
- <label for="txtTcpSendTimeout" class="col-sm-3 control-label">TCP Send Timeout</label>
- <div class="col-sm-6">
- <input type="number" class="form-control" id="txtTcpSendTimeout" placeholder="timeout" style="width: 100px; display: inline;">
- <span>milliseconds (valid range 1000-90000; default 10000)</span>
- </div>
- <div class="col-sm-offset-3 col-sm-8" style="padding-top: 5px;">The amount of time a TCP socket must wait for an <code>ACK</code> before closing the connection. This option will apply for DNS requests being received by the DNS Server over TCP, TLS, or HTTPS transports.</div>
- </div>
- <div class="form-group">
- <label for="txtTcpReceiveTimeout" class="col-sm-3 control-label">TCP Receive Timeout</label>
- <div class="col-sm-6">
- <input type="number" class="form-control" id="txtTcpReceiveTimeout" placeholder="timeout" style="width: 100px; display: inline;">
- <span>milliseconds (valid range 1000-90000; default 10000)</span>
- </div>
- <div class="col-sm-offset-3 col-sm-8" style="padding-top: 5px;">The amount of time a TCP socket must wait for data before closing the connection. This option will apply for DNS requests being received by the DNS Server over TCP, TLS, or HTTPS transports.</div>
- </div>
- </div>
- </div>
- <div id="settingsTabPaneWebService" role="tabpanel" class="tab-pane">
- <div class="well well-sm form-horizontal">
- <div class="form-group">
- <label for="txtWebServiceLocalAddresses" class="col-sm-3 control-label">Web Service Local Addresses</label>
- <div class="col-sm-6">
- <textarea id="txtWebServiceLocalAddresses" class="form-control" rows="3" spellcheck="false"></textarea>
- </div>
- <div class="col-sm-offset-3 col-sm-8" style="padding-top: 5px;">Local addresses are the network interface IP addresses you want the web service to listen for requests. The default values work for most scenarios so, do not change these defaults unless you have a requirement for the web service to listen on specific networks.</div>
- </div>
- <div class="form-group">
- <label for="txtWebServiceHttpPort" class="col-sm-3 control-label">Web Service HTTP Port</label>
- <div class="col-sm-6">
- <input type="number" class="form-control" id="txtWebServiceHttpPort" placeholder="port" style="width: 100px;">
- </div>
- <div class="col-sm-offset-3 col-sm-8" style="padding-top: 5px;">Specify the TCP port number for this web console over HTTP protocol.</div>
- </div>
- <div class="form-group">
- <label class="col-sm-3 control-label">HTTPS Options</label>
- <div class="col-sm-8">
- <div class="checkbox">
- <label>
- <input id="chkWebServiceEnableTls" type="checkbox"> Enable HTTPS
- </label>
- </div>
- <div class="checkbox">
- <label>
- <input id="chkWebServiceHttpToTlsRedirect" type="checkbox"> Enable HTTP to HTTPS Redirection
- </label>
- </div>
- <div class="checkbox">
- <label>
- <input id="chkWebServiceUseSelfSignedTlsCertificate" type="checkbox"> Use A Self Signed TLS Certificate When TLS Certificate File Path Is Unspecified
- </label>
- </div>
- </div>
- </div>
- <div class="form-group">
- <label for="txtWebServiceTlsPort" class="col-sm-3 control-label">Web Service HTTPS Port</label>
- <div class="col-sm-6">
- <input type="number" class="form-control" id="txtWebServiceTlsPort" placeholder="port" style="width: 100px;">
- </div>
- <div class="col-sm-offset-3 col-sm-8" style="padding-top: 5px;">Specify the TCP port number for this web console over TLS protocol.</div>
- </div>
- <div class="form-group">
- <label for="txtWebServiceTlsCertificatePath" class="col-sm-3 control-label">TLS Certificate File Path</label>
- <div class="col-sm-6">
- <input type="text" class="form-control" id="txtWebServiceTlsCertificatePath" placeholder="Web Service TLS Certificate File Path On Server">
- </div>
- <div class="col-sm-offset-3 col-sm-8" style="padding-top: 5px;">Specify a PKCS #12 certificate (.pfx) file path on the server. The certificate must contain private key.</div>
- </div>
- <div class="form-group">
- <label for="txtWebServiceTlsCertificatePassword" class="col-sm-3 control-label">TLS Certificate Password</label>
- <div class="col-sm-6">
- <input type="password" class="form-control" id="txtWebServiceTlsCertificatePassword" placeholder="Web Service TLS Certificate Password">
- </div>
- <div class="col-sm-offset-3 col-sm-8" style="padding-top: 5px;">Enter the certificate (.pfx) password, if any.</div>
- </div>
- <div>
- <p>Note! The web service port changes will be automatically applied and so you do not need to manually restart the main service. This web page will be automatically redirected to the new web console URL after saving settings. The HTTPS protocol will be enabled only when a TLS certificate is configured.</p>
- <p>When using a reverse proxy with the Web Service, you need to add <code>X-Real-IP</code> header to the proxy request with the IP address of the client to allow the Web server to know the real IP address of the client originating the request. For example, if you are using nginx as the reverse proxy, you can add <code>proxy_set_header X-Real-IP $remote_addr;</code> to make it work.</p>
- <p>Use the following openssl command to convert your TLS certificate that is in PEM format to PKCS #12 certificate (.pfx) format:</p>
- <pre>openssl pkcs12 -export -out "example.com.pfx" -inkey "privkey.pem" -in "cert.pem" -certfile "chain.pem"</pre>
- </div>
- </div>
- </div>
- <div id="settingsTabPaneOptionalProtocols" role="tabpanel" class="tab-pane">
- <div class="well well-sm form-horizontal">
- <div class="form-group">
- <label class="col-sm-3 control-label">Optional DNS Server Protocols</label>
- <div class="col-sm-8">
- <div class="checkbox">
- <label>
- <input id="chkEnableDnsOverHttp" type="checkbox"> Enable DNS-over-HTTP <code>(TCP Port 8053)</code>
- </label>
- </div>
- <div style="padding-top: 5px; padding-left: 20px;">Enable this option to accept DNS-over-HTTP requests for both wire and json response formats. It must be used with a TLS terminating reverse proxy like nginx and will work only on private networks.</div>
- <div class="checkbox">
- <label>
- <input id="chkEnableDnsOverTls" type="checkbox"> Enable DNS-over-TLS <code>(TCP Port 853)</code>
- </label>
- </div>
- <div style="padding-top: 5px; padding-left: 20px;">Enable this option to accept DNS-over-TLS requests.</div>
- <div class="checkbox">
- <label>
- <input id="chkEnableDnsOverHttps" type="checkbox"> Enable DNS-over-HTTPS <code>(TCP Port 80 & 443)</code>
- </label>
- </div>
- <div style="padding-top: 5px; padding-left: 20px;">Enable this option to accept DNS-over-HTTPS requests for both wire and json response formats.</div>
- </div>
- </div>
- <div class="form-group">
- <label for="txtDnsTlsCertificatePath" class="col-sm-3 control-label">TLS Certificate File Path</label>
- <div class="col-sm-6">
- <input type="text" class="form-control" id="txtDnsTlsCertificatePath" placeholder="DNS Service TLS Certificate File Path On Server">
- </div>
- <div class="col-sm-offset-3 col-sm-8" style="padding-top: 5px;">Specify a PKCS #12 certificate (.pfx) file path on the server. The certificate must contain private key.</div>
- </div>
- <div class="form-group">
- <label for="txtDnsTlsCertificatePassword" class="col-sm-3 control-label">TLS Certificate Password</label>
- <div class="col-sm-6">
- <input type="password" class="form-control" id="txtDnsTlsCertificatePassword" placeholder="DNS Service TLS Certificate Password">
- </div>
- <div class="col-sm-offset-3 col-sm-8" style="padding-top: 5px;">Enter the certificate (.pfx) password, if any.</div>
- </div>
- <div>
- <p>Note! These optional DNS server protocol changes will be automatically applied and so you do not need to manually restart the main service. The DNS-over-TLS and DNS-over-HTTPS protocols will be enabled only when a TLS certificate is configured.</p>
- <p>These optional DNS server protocols are used to host these as a service. You do not need to enable these optional protocols to use them with Forwarders or Conditional Forwarder Zones.</p>
- <p>For DNS-over-HTTP, use <code>http://<span id="lblDoHHost">localhost:8053</span>/dns-query</code> with a TLS terminating reverse proxy like nginx. For DNS-over-TLS, use <code>tls-certificate-domain:853</code> and for DNS-over-HTTPS use <code>https://tls-certificate-domain/dns-query</code> to configure supported DNS clients.</p>
- <p>When using a reverse proxy with the DNS-over-HTTP service, you need to add <code>X-Real-IP</code> header to the proxy request with the IP address of the client to allow the DNS server to know the real IP address of the client originating the request. For example, if you are using nginx as the reverse proxy, you can add <code>proxy_set_header X-Real-IP $remote_addr;</code> to make it work.</p>
- <p>Use the following openssl command to convert your TLS certificate that is in PEM format to PKCS #12 certificate (.pfx) format:</p>
- <pre>openssl pkcs12 -export -out "example.com.pfx" -inkey "privkey.pem" -in "cert.pem" -certfile "chain.pem"</pre>
- </div>
- <div style="margin-top: 10px;"><a href="https://blog.technitium.com/2020/07/how-to-host-your-own-dns-over-https-and.html" target="_blank">Help: How To Host Your Own DNS-over-HTTPS And DNS-over-TLS Services</a></div>
- </div>
- </div>
- <div id="settingsTabPaneTsig" role="tabpanel" class="tab-pane">
- <div class="well well-sm form-horizontal">
- <div class="form-group">
- <label for="tableTsigKeys" class="col-sm-2 control-label">TSIG Keys</label>
- <div class="col-sm-10">
- <table class="table table-hover" style="margin-bottom: 0px;">
- <thead>
- <tr>
- <th>Key Name</th>
- <th>Shared Secret</th>
- <th>Algorithm</th>
- <th><button type="button" class="btn btn-default" style="padding: 0px 20px;" onclick="addTsigKeyRow('', '', 'hmac-sha256');">Add</button></th>
- </tr>
- </thead>
- <tbody id="tableTsigKeys"></tbody>
- </table>
- </div>
- <div class="col-sm-offset-2 col-sm-10" style="padding-top: 5px;">The shared secret can be a base64 string or a literal string. Keep the shared secret empty if you want to auto generate a strong key.</div>
- </div>
- <div>Note! You will need to configure these TSIG keys names for zone transfer in the zone options and in the secondary zone SOA record options separately.</div>
- </div>
- </div>
- <div id="settingsTabPaneRecursion" role="tabpanel" class="tab-pane">
- <div class="well well-sm form-horizontal">
- <div class="form-group">
- <label class="col-sm-3 control-label">Recursion</label>
- <div class="col-sm-8">
- <div class="radio">
- <label>
- <input type="radio" name="rdRecursion" id="rdRecursionDeny" value="Deny">
- Deny Recursion
- </label>
- <div style="padding-top: 5px; padding-left: 20px;">Disables recursion so that this DNS Server works as authoritative only.</div>
- </div>
- <div class="radio">
- <label>
- <input type="radio" name="rdRecursion" id="rdRecursionAllow" value="Allow">
- Allow Recursion
- </label>
- <div style="padding-top: 5px; padding-left: 20px;">Enables recursion to allow this DNS Server to resolve any domain name.</div>
- </div>
- <div class="radio">
- <label>
- <input type="radio" name="rdRecursion" id="rdRecursionAllowOnlyForPrivateNetworks" value="AllowOnlyForPrivateNetworks" checked>
- Allow Recursion Only For Private Networks (default)
- </label>
- <div style="padding-top: 5px; padding-left: 20px;">Select this option if you want to support recursion only on private networks. Any recursive request from a public network will be refused.</div>
- </div>
- <div class="radio">
- <label>
- <input type="radio" name="rdRecursion" id="rdRecursionUseSpecifiedNetworks" value="UseSpecifiedNetworks">
- Allow/Deny Recursion For Specified Networks
- </label>
- <div style="padding-top: 5px; padding-left: 20px;">Select this option to specify which networks (in CIDR form) must be allowed or denied. Denied networks are always matched first.</div>
- </div>
- </div>
- <div class="col-sm-offset-3 col-sm-6">
- <label for="txtRecursionDeniedNetworks" class="control-label">Denied Networks (CIDR)</label>
- <textarea id="txtRecursionDeniedNetworks" class="form-control" rows="5" spellcheck="false"></textarea>
- <label for="txtRecursionAllowedNetworks" class="control-label">Allowed Networks (CIDR)</label>
- <textarea id="txtRecursionAllowedNetworks" class="form-control" rows="5" spellcheck="false"></textarea>
- </div>
- </div>
- <div>Note! Disable recursion if you wish this server to act only as authoritative name server for the configured zones.</div>
- </div>
- <div class="well well-sm form-horizontal">
- <div class="form-group">
- <label class="col-sm-3 control-label">Recursive Resolver</label>
- <div class="col-sm-8">
- <div class="checkbox">
- <label>
- <input id="chkRandomizeName" type="checkbox"> Randomize Name
- </label>
- </div>
- <div style="padding-top: 5px; padding-left: 20px;">Enables <a href="https://datatracker.ietf.org/doc/html/draft-vixie-dnsext-dns0x20-00" target="_blank">QNAME randomization</a> when using UDP as the transport protocol to improve security.</div>
- <div class="checkbox">
- <label>
- <input id="chkQnameMinimization" type="checkbox"> QNAME Minimization
- </label>
- </div>
- <div style="padding-top: 5px; padding-left: 20px;">Enables <a href="https://datatracker.ietf.org/doc/html/draft-ietf-dnsop-rfc7816bis-04" target="_blank">QNAME minimization</a> for recursive resolution to improve privacy.</div>
- <div class="checkbox">
- <label>
- <input id="chkNsRevalidation" type="checkbox"> NS Revalidation
- </label>
- </div>
- <div style="padding-top: 5px; padding-left: 20px;">Enables <a href="https://datatracker.ietf.org/doc/draft-ietf-dnsop-ns-revalidation/" target="_blank">Delegation Revalidation</a> for recursive resolution.</div>
- </div>
- </div>
- </div>
- <div class="well well-sm form-horizontal">
- <div class="form-group">
- <label for="txtResolverRetries" class="col-sm-3 control-label">Resolver Retries</label>
- <div class="col-sm-6">
- <input type="number" class="form-control" id="txtResolverRetries" placeholder="retries" style="width: 100px; display: inline;">
- <span>(valid range 1-10; default 3)</span>
- </div>
- <div class="col-sm-offset-3 col-sm-8" style="padding-top: 5px;">The total number of retries the recursive resolver must do per name server.</div>
- </div>
- <div class="form-group">
- <label for="txtResolverTimeout" class="col-sm-3 control-label">Resolver Timeout</label>
- <div class="col-sm-6">
- <input type="number" class="form-control" id="txtResolverTimeout" placeholder="timeout" style="width: 100px; display: inline;">
- <span>milliseconds (valid range 1000-10000; default 2000)</span>
- </div>
- <div class="col-sm-offset-3 col-sm-8" style="padding-top: 5px;">The amount of time the recursive resolver must wait between retries.</div>
- </div>
- <div class="form-group">
- <label for="txtResolverMaxStackCount" class="col-sm-3 control-label">Resolver Max Stack Count</label>
- <div class="col-sm-6">
- <input type="number" class="form-control" id="txtResolverMaxStackCount" placeholder="count" style="width: 100px; display: inline;">
- <span>(valid range 10-30; default 16)</span>
- </div>
- <div class="col-sm-offset-3 col-sm-8" style="padding-top: 5px;">The maximum stack count the recursive resolver must use for resolving a domain name.</div>
- </div>
- </div>
- </div>
- <div id="settingsTabPaneCache" role="tabpanel" class="tab-pane">
- <div class="well well-sm form-horizontal">
- <div class="form-group">
- <label class="col-sm-3 control-label">DNS Cache</label>
- <div class="col-sm-8">
- <div class="checkbox">
- <label>
- <input id="chkServeStale" type="checkbox"> Serve Stale
- </label>
- </div>
- <div style="padding-top: 5px; padding-left: 20px;">Enable the <a href="https://datatracker.ietf.org/doc/rfc8767/" target="_blank">Serve Stale</a> feature to improve resiliency by using expired or stale records in cache when the DNS server is unable to reach the upstream or authoritative name servers.</div>
- </div>
- </div>
- <div class="form-group">
- <label for="txtServeStaleTtl" class="col-sm-3 control-label">Serve Stale TTL</label>
- <div class="col-sm-6">
- <input type="number" class="form-control" id="txtServeStaleTtl" placeholder="seconds" style="width: 100px; display: inline;">
- <span>seconds (recommended 259200 i.e. 3 days)</span>
- </div>
- <div class="col-sm-offset-3 col-sm-8" style="padding-top: 5px;">The TTL value in seconds which should be used for cached records that are expired. When the serve stale TTL too expires for a stale record, it gets removed from the cache. Recommended value is between 1-3 days and maximum supported value is 7 days.</div>
- </div>
- </div>
- <div class="well well-sm form-horizontal">
- <div class="form-group">
- <label for="txtCacheMinimumRecordTtl" class="col-sm-3 control-label">Cache Minimum TTL</label>
- <div class="col-sm-6">
- <input type="number" class="form-control" id="txtCacheMinimumRecordTtl" placeholder="min TTL" style="width: 100px; display: inline;">
- <span>seconds (recommended 10)</span>
- </div>
- <div class="col-sm-offset-3 col-sm-8" style="padding-top: 5px;">The minimum TTL value that a record can have in the cache. Set a value to make sure that the records with TTL value less than that stays in cache for a minimum duration.</div>
- </div>
- <div class="form-group">
- <label for="txtCacheMaximumRecordTtl" class="col-sm-3 control-label">Cache Maximum TTL</label>
- <div class="col-sm-8">
- <input type="number" class="form-control" id="txtCacheMaximumRecordTtl" placeholder="max TTL" style="width: 100px; display: inline;">
- <span>seconds (default 604800)</span>
- </div>
- <div class="col-sm-offset-3 col-sm-8" style="padding-top: 5px;">The maximum TTL value that a record can have in the cache. Set a lower value to allow the records to expire early.</div>
- </div>
- <div class="form-group">
- <label for="txtCacheNegativeRecordTtl" class="col-sm-3 control-label">Cache Negative TTL</label>
- <div class="col-sm-6">
- <input type="number" class="form-control" id="txtCacheNegativeRecordTtl" placeholder="-ve TTL" style="width: 100px; display: inline;">
- <span>seconds (recommended 300)</span>
- </div>
- <div class="col-sm-offset-3 col-sm-8" style="padding-top: 5px;">The negative TTL value to use when there is no SOA MINIMUM value available.</div>
- </div>
- <div class="form-group">
- <label for="txtCacheFailureRecordTtl" class="col-sm-3 control-label">Cache Failure TTL</label>
- <div class="col-sm-6">
- <input type="number" class="form-control" id="txtCacheFailureRecordTtl" placeholder="fail TTL" style="width: 100px; display: inline;">
- <span>seconds (recommended 60)</span>
- </div>
- <div class="col-sm-offset-3 col-sm-8" style="padding-top: 5px;">The failure TTL value to be used for caching failure responses. This allows storing failure record in cache and prevent frequent recursive resolution requests to the name servers that are responding with <code>ServerFailure</code>.</div>
- </div>
- </div>
- <div class="well well-sm form-horizontal">
- <div class="form-group">
- <label for="txtCachePrefetchEligibility" class="col-sm-3 control-label">Prefetch Eligibility</label>
- <div class="col-sm-6">
- <input type="number" class="form-control" id="txtCachePrefetchEligibility" placeholder="eligibility" style="width: 100px; display: inline;">
- <span>seconds (recommended 2)</span>
- </div>
- <div class="col-sm-offset-3 col-sm-8" style="padding-top: 5px;">The minimum initial TTL value of a record needed to be eligible for prefetching.</div>
- </div>
- <div class="form-group">
- <label for="txtCachePrefetchTrigger" class="col-sm-3 control-label">Prefetch Trigger</label>
- <div class="col-sm-8">
- <input type="number" class="form-control" id="txtCachePrefetchTrigger" placeholder="trigger" style="width: 100px; display: inline;">
- <span>seconds (recommended 9; set 0 to disable prefetching & auto prefetching)</span>
- </div>
- <div class="col-sm-offset-3 col-sm-8" style="padding-top: 5px;">A record with TTL value less than trigger value will initiate prefetch operation immediately for itself.</div>
- </div>
- <div class="form-group">
- <label for="txtCachePrefetchSampleIntervalInMinutes" class="col-sm-3 control-label">Auto Prefetch Sampling</label>
- <div class="col-sm-6">
- <input type="number" class="form-control" id="txtCachePrefetchSampleIntervalInMinutes" placeholder="interval" style="width: 100px; display: inline;">
- <span>minutes (valid range 1-60; default 5)</span>
- </div>
- <div class="col-sm-offset-3 col-sm-8" style="padding-top: 5px;">The interval to sample eligible domain names from last hour stats for auto prefetch.</div>
- </div>
- <div class="form-group">
- <label for="txtCachePrefetchSampleEligibilityHitsPerHour" class="col-sm-3 control-label">Auto Prefetch Eligibility</label>
- <div class="col-sm-6">
- <input type="number" class="form-control" id="txtCachePrefetchSampleEligibilityHitsPerHour" placeholder="hits" style="width: 100px; display: inline;">
- <span>hits/hour (default 30)</span>
- </div>
- <div class="col-sm-offset-3 col-sm-8" style="padding-top: 5px;">Minimum required hits per hour for a domain name to be eligible for auto prefetch.</div>
- </div>
- <div>The DNS Server cache auto prefetch option can keep eligible domain names from last hour stats "hot" in cache. Auto prefetch eligibility value can be decided by keeping an eye on the hits shown for last hour on the dashboard. Experiment with auto prefetch sampling interval and eligibility to get best results.</div>
- </div>
- </div>
- <div id="settingsTabPaneBlocking" role="tabpanel" class="tab-pane">
- <div class="well well-sm form-horizontal">
- <div class="form-group">
- <label class="col-sm-3 control-label">Blocking</label>
- <div class="col-sm-8">
- <div class="checkbox">
- <label>
- <input id="chkEnableBlocking" type="checkbox"> Enable Blocking
- </label>
- </div>
- <div style="padding-top: 5px; padding-left: 20px;">Sets the DNS server to block domain names using Blocked Zone and Block List Zone.</div>
- <div class="checkbox">
- <label>
- <input id="chkAllowTxtBlockingReport" type="checkbox"> Allow TXT Blocking Report
- </label>
- </div>
- <div style="padding-top: 5px; padding-left: 20px;">Specifies if the DNS Server should respond with TXT records containing a blocked domain report for TXT type requests.</div>
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-3 control-label">Blocking Temporarily Disabled Till</label>
- <div class="col-sm-8">
- <div id="lblTemporaryDisableBlockingTill" style="padding-top: 7px;"></div>
- <div style="padding-top: 12px;">
- <input type="number" class="form-control" id="txtTemporaryDisableBlockingMinutes" placeholder="minutes" style="width: 100px; display: inline;">
- <span>minutes</span>
- </div>
- <div style="padding-top: 6px;">
- <button id="btnTemporaryDisableBlockingNow" type="button" class="btn btn-default" style="padding: 2px 0; width: 170px;" data-loading-text="Disabling..." onclick="temporaryDisableBlockingNow();">Temporary Disable Now</button>
- </div>
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-3 control-label">Blocking Type</label>
- <div class="col-sm-8">
- <div class="radio">
- <label>
- <input type="radio" name="rdBlockingType" id="rdBlockingTypeAnyAddress" value="AnyAddress">
- Any Address (default)
- </label>
- <div style="padding-top: 5px; padding-left: 20px;">Uses <code>0.0.0.0</code> and <code>::</code> IP addresses for blocked domain names.</div>
- </div>
- <div class="radio">
- <label>
- <input type="radio" name="rdBlockingType" id="rdBlockingTypeNxDomain" value="NxDomain">
- NX Domain
- </label>
- <div style="padding-top: 5px; padding-left: 20px;">Uses <code>NX Domain</code> response for blocked domain names.</div>
- </div>
- <div class="radio">
- <label>
- <input type="radio" name="rdBlockingType" id="rdBlockingTypeCustomAddress" value="CustomAddress">
- Custom Address
- </label>
- <div style="padding-top: 5px; padding-left: 20px;">Uses custom IP addresses provided below for blocked domain names.</div>
- </div>
- </div>
- <div class="col-sm-offset-3 col-sm-6" style="margin-bottom: 10px;">
- <label for="txtCustomBlockingAddresses" class="control-label">Custom Blocking Addresses (IP Address)</label>
- <textarea id="txtCustomBlockingAddresses" class="form-control" rows="3" spellcheck="false"></textarea>
- </div>
- </div>
- <div class="form-group">
- <label for="txtBlockListUrls" class="col-sm-3 control-label">Block List URLs</label>
- <div class="col-sm-6">
- <textarea id="txtBlockListUrls" class="form-control" rows="7" spellcheck="false"></textarea>
- <label for="optQuickBlockList" class="control-label">Quick Add</label>
- <select id="optQuickBlockList" class="form-control" style="width: 100%;">
- <option value="blank" selected></option>
- <option value="none">None</option>
- <option value="default">Default</option>
- <option id="optCustomLocalBlockList" value="http://localhost:5380/blocklist.txt">Custom Local Block List (http://localhost:5380/blocklist.txt)</option>
- <option value="https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts">Steven Black [adware + malware] (https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts)</option>
- <option value="https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews/hosts">Steven Black [adware + malware + fakenews] (https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews/hosts)</option>
- <option value="https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts">Steven Black [adware + malware + gambling] (https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts)</option>
- <option value="https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts">Steven Black [adware + malware + porn] (https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts)</option>
- <option value="https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts">Steven Black [adware + malware + social] (https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts)</option>
- <option value="https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts">Steven Black [adware + malware + fakenews + gambling] (https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts)</option>
- <option value="https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts">Steven Black [adware + malware + fakenews + porn] (https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts)</option>
- <option value="https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts">Steven Black [adware + malware + fakenews + social] (https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts)</option>
- <option value="https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts">Steven Black [adware + malware + gambling + porn] (https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts)</option>
- <option value="https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts">Steven Black [adware + malware + gambling + social] (https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts)</option>
- <option value="https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts">Steven Black [adware + malware + porn + social] (https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts)</option>
- <option value="https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts">Steven Black [adware + malware + fakenews + gambling + porn] (https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts)</option>
- <option value="https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts">Steven Black [adware + malware + fakenews + gambling + social] (https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts)</option>
- <option value="https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts">Steven Black [adware + malware + fakenews + porn + social] (https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts)</option>
- <option value="https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts">Steven Black [adware + malware + gambling + porn + social] (https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts)</option>
- <option value="https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts">Steven Black [adware + malware + fakenews + gambling + porn + social] (https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts)</option>
- <option value="https://s3.amazonaws.com/lists.disconnect.me/simple_tracking.txt">Disconnect.me [tracking] (https://s3.amazonaws.com/lists.disconnect.me/simple_tracking.txt)</option>
- <option value="https://s3.amazonaws.com/lists.disconnect.me/simple_ad.txt">Disconnect.me [ads] (https://s3.amazonaws.com/lists.disconnect.me/simple_ad.txt)</option>
- <option value="https://dbl.oisd.nl/">OISD Block List by sjhgvr (https://dbl.oisd.nl/)</option>
- </select>
- </div>
- <div class="col-sm-offset-3 col-sm-8" style="padding-top: 5px;">
- <p>Enter block list URL one below another in the above text field or use the Quick Add list to add known block list URLs.</p>
- <p>Add <code>!</code> character at the start of an URL to make it an allow list URL. Domain names in such an allow list URL are prevented from being added to the block list zone.</p>
- </div>
- </div>
- <div class="form-group">
- <label for="txtBlockListUpdateIntervalHours" class="col-sm-3 control-label">Block List Update Interval</label>
- <div class="col-sm-6">
- <input type="number" class="form-control" id="txtBlockListUpdateIntervalHours" placeholder="hours" style="width: 100px; display: inline;">
- <span>hours (default 24, valid range 1-168)</span>
- </div>
- <div class="col-sm-offset-3 col-sm-8" style="padding-top: 5px;">The interval in hours to automatically download and update the block lists.</div>
- </div>
- <div class="form-group">
- <label for="lblBlockListNextUpdatedOn" class="col-sm-3 control-label">Block List Next Update On</label>
- <div class="col-sm-6" style="padding-top: 5px;">
- <span id="lblBlockListNextUpdatedOn" style="margin-right: 15px;"></span>
- <button id="btnUpdateBlockListsNow" type="button" class="btn btn-default" style="padding: 2px 0; width: 100px;" data-loading-text="Updating..." onclick="forceUpdateBlockLists();">Update Now</button>
- </div>
- <div class="col-sm-offset-3 col-sm-8" style="padding-top: 5px;">Click the 'Update Now' button to reset the next update schedule and force download and update of the block lists.</div>
- </div>
- <div style="margin-top: 10px;">DNS Server will use the data returned by the block list URLs to update the block list zone automatically. The expected file format is standard <code>hosts</code> file format or plain text file containing list of domains to block.</div>
- <div style="margin-top: 10px;"><a href="https://blog.technitium.com/2018/10/blocking-internet-ads-using-dns-sinkhole.html" target="_blank">Help: Blocking Internet Ads Using DNS Sinkhole</a></div>
- </div>
- </div>
- <div id="settingsTabPaneProxyForwarders" role="tabpanel" class="tab-pane">
- <div class="well well-sm form-horizontal">
- <div class="form-group">
- <label class="col-sm-3 control-label">Network Proxy</label>
- <div class="col-sm-6">
- <div class="radio">
- <label>
- <input type="radio" name="rdProxyType" id="rdProxyTypeNone" value="None" checked>
- No Proxy (default)
- </label>
- </div>
- <div class="radio">
- <label>
- <input type="radio" name="rdProxyType" id="rdProxyTypeHttp" value="Http">
- HTTP Proxy
- </label>
- </div>
- <div class="radio">
- <label>
- <input type="radio" name="rdProxyType" id="rdProxyTypeSocks5" value="Socks5">
- SOCKS5 Proxy
- </label>
- </div>
- </div>
- </div>
- <div class="form-group">
- <label for="txtProxyAddress" class="col-sm-3 control-label">Proxy Server Address</label>
- <div class="col-sm-6">
- <input type="text" class="form-control" id="txtProxyAddress" placeholder="domain name or IP address">
- </div>
- </div>
- <div class="form-group">
- <label for="txtProxyPort" class="col-sm-3 control-label">Proxy Server Port</label>
- <div class="col-sm-6">
- <input type="number" class="form-control" id="txtProxyPort" placeholder="port" style="width: 100px;">
- </div>
- </div>
- <div class="form-group">
- <label for="txtProxyUsername" class="col-sm-3 control-label">Username</label>
- <div class="col-sm-6">
- <input type="text" class="form-control" id="txtProxyUsername" placeholder="username">
- </div>
- </div>
- <div class="form-group">
- <label for="txtProxyPassword" class="col-sm-3 control-label">Password</label>
- <div class="col-sm-6">
- <input type="password" class="form-control" id="txtProxyPassword" placeholder="password">
- </div>
- </div>
- <div class="form-group">
- <label for="txtProxyBypassList" class="col-sm-3 control-label">Proxy Bypass List</label>
- <div class="col-sm-6">
- <textarea id="txtProxyBypassList" class="form-control" rows="5" spellcheck="false"></textarea>
- </div>
- <div class="col-sm-offset-3 col-sm-8" style="padding-top: 5px;">Enter IP addresses, network addresses or domain names to never proxy.</div>
- </div>
- <div style="margin-top: 10px;">When proxy server is configured, DNS Server will use it for all outbound network requests.</div>
- </div>
- <div class="well well-sm form-horizontal">
- <div class="form-group">
- <label for="txtForwarders" class="col-sm-3 control-label">Forwarders</label>
- <div class="col-sm-6">
- <textarea id="txtForwarders" class="form-control" rows="3" spellcheck="false"></textarea>
- <label for="optQuickForwarders" class="control-label">Quick Select</label>
- <select id="optQuickForwarders" class="form-control" style="width: 100%;">
- <option value="blank" selected></option>
- <option value="none">None</option>
- <option value="cloudflare-udp">Cloudflare (DNS-over-UDP)</option>
- <option value="cloudflare-udp-ipv6">Cloudflare (DNS-over-UDP IPv6)</option>
- <option value="cloudflare-tcp">Cloudflare (DNS-over-TCP)</option>
- <option value="cloudflare-tcp-ipv6">Cloudflare (DNS-over-TCP IPv6)</option>
- <option value="cloudflare-tls">Cloudflare (DNS-over-TLS)</option>
- <option value="cloudflare-tls-ipv6">Cloudflare (DNS-over-TLS IPv6)</option>
- <option value="cloudflare-https">Cloudflare (DNS-over-HTTPS)</option>
- <option value="cloudflare-json">Cloudflare (DNS-over-HTTPS-JSON)</option>
- <option value="cloudflare-tor">Cloudflare (DNS-over-TOR!)</option>
- <option value="google-udp">Google (DNS-over-UDP)</option>
- <option value="google-udp-ipv6">Google (DNS-over-UDP IPv6)</option>
- <option value="google-tcp">Google (DNS-over-TCP)</option>
- <option value="google-tcp-ipv6">Google (DNS-over-TCP IPv6)</option>
- <option value="google-tls">Google (DNS-over-TLS)</option>
- <option value="google-tls-ipv6">Google (DNS-over-TLS IPv6)</option>
- <option value="google-https">Google (DNS-over-HTTPS)</option>
- <option value="google-json">Google (DNS-over-HTTPS-JSON)</option>
- <option value="quad9-udp">Quad9 Secure (DNS-over-UDP)</option>
- <option value="quad9-udp-ipv6">Quad9 Secure (DNS-over-UDP IPv6)</option>
- <option value="quad9-tcp">Quad9 Secure (DNS-over-TCP)</option>
- <option value="quad9-tcp-ipv6">Quad9 Secure (DNS-over-TCP IPv6)</option>
- <option value="quad9-tls">Quad9 Secure (DNS-over-TLS)</option>
- <option value="quad9-tls-ipv6">Quad9 Secure (DNS-over-TLS IPv6)</option>
- <option value="quad9-https">Quad9 Secure (DNS-over-HTTPS)</option>
- <option value="quad9-unsecure-udp">Quad9 Unsecure (DNS-over-UDP)</option>
- <option value="quad9-unsecure-udp-ipv6">Quad9 Unsecure (DNS-over-UDP IPv6)</option>
- <option value="quad9-unsecure-tcp">Quad9 Unsecure (DNS-over-TCP)</option>
- <option value="quad9-unsecure-tcp-ipv6">Quad9 Unsecure (DNS-over-TCP IPv6)</option>
- <option value="quad9-unsecure-tls">Quad9 Unsecure (DNS-over-TLS)</option>
- <option value="quad9-unsecure-tls-ipv6">Quad9 Unsecure (DNS-over-TLS IPv6)</option>
- <option value="quad9-unsecure-https">Quad9 Unsecure (DNS-over-HTTPS)</option>
- <option value="opendns-udp">OpenDNS (DNS-over-UDP)</option>
- <option value="opendns-udp-ipv6">OpenDNS (DNS-over-UDP IPv6)</option>
- <option value="opendns-tcp">OpenDNS (DNS-over-TCP)</option>
- <option value="opendns-tcp-ipv6">OpenDNS (DNS-over-TCP IPv6)</option>
- <option value="opendns-fs-udp">OpenDNS FamilyShield (DNS-over-UDP)</option>
- </select>
- <div style="margin-top: 10px;">Enter forwarder DNS Server IP addresses or URLs one below another in above text field or use the Quick Select list to select desired forwarder.</div>
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-3 control-label">Forwarder Protocol</label>
- <div class="col-sm-8">
- <div class="radio">
- <label>
- <input type="radio" name="rdForwarderProtocol" id="rdForwarderProtocolUdp" value="Udp" checked>
- DNS-over-UDP (default)
- </label>
- </div>
- <div class="radio">
- <label>
- <input type="radio" name="rdForwarderProtocol" id="rdForwarderProtocolTcp" value="Tcp">
- DNS-over-TCP
- </label>
- </div>
- <div class="radio">
- <label>
- <input type="radio" name="rdForwarderProtocol" id="rdForwarderProtocolTls" value="Tls">
- DNS-over-TLS
- </label>
- </div>
- <div class="radio">
- <label>
- <input type="radio" name="rdForwarderProtocol" id="rdForwarderProtocolHttps" value="Https">
- DNS-over-HTTPS
- </label>
- </div>
- <div class="radio">
- <label>
- <input type="radio" name="rdForwarderProtocol" id="rdForwarderProtocolHttpsJson" value="HttpsJson">
- DNS-over-HTTPS (JSON)
- </label>
- </div>
- <div style="margin-top: 10px;">Select a protocol that this DNS server must use to query the forwarders specified above.</div>
- </div>
- </div>
- <div style="margin-top: 10px;">Forwarders are DNS servers which this DNS Server should use to resolve recursive queries. If no forwarders are configured then this DNS server will use preconfigured ROOT SERVERS to perform recursive resolution.</div>
- <div style="margin-top: 10px;"><a href="https://blog.technitium.com/2018/06/configuring-dns-server-for-privacy.html" target="_blank">Help: Configuring DNS Server For Privacy & Security</a></div>
- </div>
- <div class="well well-sm form-horizontal">
- <div class="form-group">
- <label for="txtForwarderRetries" class="col-sm-3 control-label">Forwarder Retries</label>
- <div class="col-sm-6">
- <input type="number" class="form-control" id="txtForwarderRetries" placeholder="retries" style="width: 100px; display: inline;">
- <span>(valid range 1-10; default 3)</span>
- </div>
- <div class="col-sm-offset-3 col-sm-8" style="padding-top: 5px;">The total number of retries the forwarder or conditional forwarder resolver must do per upstream DNS server.</div>
- </div>
- <div class="form-group">
- <label for="txtForwarderTimeout" class="col-sm-3 control-label">Forwarder Timeout</label>
- <div class="col-sm-6">
- <input type="number" class="form-control" id="txtForwarderTimeout" placeholder="timeout" style="width: 100px; display: inline;">
- <span>milliseconds (valid range 1000-10000; default 2000)</span>
- </div>
- <div class="col-sm-offset-3 col-sm-8" style="padding-top: 5px;">The amount of time the forwarder or conditional forwarder resolver must wait between retries.</div>
- </div>
- <div class="form-group">
- <label for="txtForwarderConcurrency" class="col-sm-3 control-label">Forwarder Concurrency</label>
- <div class="col-sm-6">
- <input type="number" class="form-control" id="txtForwarderConcurrency" placeholder="count" style="width: 100px; display: inline;">
- <span>(valid range 1-10; default 2)</span>
- </div>
- <div class="col-sm-offset-3 col-sm-8" style="padding-top: 5px;">The number of concurrent requests that the forwarder or conditional forwarder resolver must send when resolving a domain name.</div>
- </div>
- </div>
- </div>
- <div id="settingsTabPaneLogging" role="tabpanel" class="tab-pane">
- <div class="well well-sm form-horizontal">
- <div class="form-group">
- <label class="col-sm-3 control-label">Logging</label>
- <div class="col-sm-8">
- <div class="checkbox">
- <label>
- <input id="chkEnableLogging" type="checkbox"> Enable Logging
- </label>
- </div>
- <div style="padding-top: 5px; padding-left: 20px;">Enable this option to log error and audit logs into the log file.</div>
- <div class="checkbox">
- <label>
- <input id="chkLogQueries" type="checkbox"> Log All Queries
- </label>
- </div>
- <div style="padding-top: 5px; padding-left: 20px;">Enable this option to log every query received by this DNS Server and the corresponding response answers into the log file.</div>
- <div class="checkbox">
- <label>
- <input id="chkUseLocalTime" type="checkbox"> Use Local Time
- </label>
- </div>
- <div style="padding-top: 5px; padding-left: 20px;">Enable this option to use local time instead of UTC for logging.</div>
- </div>
- </div>
- <div class="form-group">
- <label for="txtLogFolderPath" class="col-sm-3 control-label">Log Folder Path</label>
- <div class="col-sm-6">
- <input type="text" class="form-control" id="txtLogFolderPath" placeholder="Log Folder Path On Server">
- </div>
- <div class="col-sm-offset-3 col-sm-8" style="padding-top: 5px;">The folder path on the server where the log files should be saved. The path can be relative to the DNS server config folder.</div>
- </div>
- <div class="form-group">
- <label for="txtMaxLogFileDays" class="col-sm-3 control-label">Max Log File Days</label>
- <div class="col-sm-6">
- <input type="number" class="form-control" id="txtMaxLogFileDays" placeholder="Max Days" style="width: 100px; display: inline;">
- <span>days (default 365, set 0 to disable auto delete)</span>
- </div>
- <div class="col-sm-offset-3 col-sm-8" style="padding-top: 5px;">Max number of days to keep the log files. Log files older than the specified number of days will be deleted automatically.</div>
- </div>
- <div class="form-group">
- <label for="txtMaxStatFileDays" class="col-sm-3 control-label">Max Stat File Days</label>
- <div class="col-sm-6">
- <input type="number" class="form-control" id="txtMaxStatFileDays" placeholder="Max Days" style="width: 100px; display: inline;">
- <span>days (default 365, set 0 to disable auto delete)</span>
- </div>
- <div class="col-sm-offset-3 col-sm-8" style="padding-top: 5px;">Max number of days to keep the dashboard stats. Stat files older than the specified number of days will be deleted automatically.</div>
- </div>
- <div>Warning! Enabling query logging will significantly increase the log file size and use up disk space.</div>
- </div>
- </div>
- </div>
- <div class="form-group" style="margin-bottom: 0px;">
- <div class="pull-left">
- <button id="btnSaveDnsSettings" type="button" class="btn btn-primary" data-loading-text="Saving..." onclick="saveDnsSettings();">Save Settings</button>
- <button type="button" class="btn btn-danger" data-loading-text="Flushing..." onclick="flushDnsCache(this);" style="margin-left: 6px;">Flush Cache</button>
- </div>
- <div class="pull-right">
- <button type="button" class="btn btn-success" onclick="resetBackupSettingsModal();" data-toggle="modal" data-target="#modalBackupSettings">Backup Settings</button>
- <button type="button" class="btn btn-warning" onclick="resetRestoreSettingsModal();" data-toggle="modal" data-target="#modalRestoreSettings" style="margin-left: 6px;">Restore Settings</button>
- </div>
- <div class="clearfix"></div>
- </div>
- </form>
- </div>
- </div>
- <div id="mainPanelTabPaneDhcp" role="tabpanel" class="tab-pane" style="padding: 10px 0 0 0;">
- <ul class="nav nav-tabs" role="tablist">
- <li id="dhcpTabListLeases" role="presentation" class="active"><a href="#dhcpTabPaneLeases" aria-controls="dhcpTabPaneLeases" role="tab" data-toggle="tab" onclick="refreshDhcpLeases();">Leases</a></li>
- <li id="dhcpTabListScopes" role="presentation"><a href="#dhcpTabPaneScopes" aria-controls="dhcpTabPaneScopes" role="tab" data-toggle="tab" onclick="refreshDhcpScopes(true);">Scopes</a></li>
- </ul>
- <div class="tab-content">
- <div id="dhcpTabPaneLeases" class="tab-pane active">
- <div id="divDhcpLeasesLoader" style="margin-top: 10px; height: 350px;"></div>
- <div id="divDhcpLeases" style="margin-top: 10px;">
- <table class="table table-hover">
- <thead>
- <tr>
- <th onclick="sortTable('tableDhcpLeasesBody', 0);">Scope</th>
- <th onclick="sortTable('tableDhcpLeasesBody', 1);">MAC Address</th>
- <th onclick="sortTable('tableDhcpLeasesBody', 2);">IP Address</th>
- <th onclick="sortTable('tableDhcpLeasesBody', 3);"></th>
- <th onclick="sortTable('tableDhcpLeasesBody', 4);">Host Name</th>
- <th onclick="sortTable('tableDhcpLeasesBody', 5);">Lease Obtained</th>
- <th onclick="sortTable('tableDhcpLeasesBody', 6);">Lease Expires</th>
- <th style="width: 30px;" align="right"></th>
- </tr>
- </thead>
- <tbody id="tableDhcpLeasesBody">
- </tbody>
- <tfoot id="tableDhcpLeasesFooter">
- <tr><td><b>Total Leases: 0</b></td></tr>
- </tfoot>
- </table>
- </div>
- </div>
- <div id="dhcpTabPaneScopes" class="tab-pane">
- <div id="divDhcpViewScopesLoader" style="margin-top: 10px; height: 350px;"></div>
- <div id="divDhcpViewScopes" style="margin-top: 10px;">
- <div style="float: right; padding: 2px 0px;">
- <button type="button" class="btn btn-primary" style="padding: 2px 0px; width: 100px;" onclick="showAddDhcpScope();">Add Scope</button>
- </div>
- <div style="clear: both;"></div>
- <table class="table table-hover">
- <thead>
- <tr>
- <th onclick="sortTable('tableDhcpScopesBody', 0);">Name</th>
- <th onclick="sortTable('tableDhcpScopesBody', 1);">Scope Range/Subnet Mask</th>
- <th onclick="sortTable('tableDhcpScopesBody', 2);">Network/Broadcast</th>
- <th onclick="sortTable('tableDhcpScopesBody', 3);">Interface</th>
- <th></th>
- </tr>
- </thead>
- <tbody id="tableDhcpScopesBody">
- </tbody>
- <tfoot id="tableDhcpScopesFooter">
- <tr><td><b>Total Leases: 0</b></td></tr>
- </tfoot>
- </table>
- </div>
- <div id="divDhcpEditScope" style="display: none;">
- <form style="margin-top: 10px; margin-bottom: 0px;" onsubmit="return false;">
- <h4 style="padding: 10px 0px;" id="titleDhcpEditScope">Edit Scope</h4>
- <div class="well well-sm form-horizontal">
- <div class="form-group">
- <label for="txtDhcpScopeName" class="col-sm-3 control-label">Name</label>
- <div class="col-sm-6">
- <input type="text" class="form-control" id="txtDhcpScopeName" data-name="" placeholder="Scope Name">
- </div>
- </div>
- <div class="form-group">
- <label for="txtDhcpScopeStartingAddress" class="col-sm-3 control-label">Starting Address</label>
- <div class="col-sm-3">
- <input type="text" class="form-control" id="txtDhcpScopeStartingAddress" placeholder="Starting Address">
- </div>
- </div>
- <div class="form-group">
- <label for="txtDhcpScopeEndingAddress" class="col-sm-3 control-label">Ending Address</label>
- <div class="col-sm-3">
- <input type="text" class="form-control" id="txtDhcpScopeEndingAddress" placeholder="Ending Address">
- </div>
- </div>
- <div class="form-group">
- <label for="txtDhcpScopeSubnetMask" class="col-sm-3 control-label">Subnet Mask</label>
- <div class="col-sm-3">
- <input type="text" class="form-control" id="txtDhcpScopeSubnetMask" placeholder="Subnet Mask">
- </div>
- </div>
- <div class="form-group">
- <label for="txtDhcpScopeLeaseTimeDays" class="col-sm-3 control-label">Lease Time</label>
- <div class="col-sm-7">
- <label for="txtDhcpScopeLeaseTimeDays" class="control-label">Days</label>
- <input type="number" class="form-control" style="display: inline; width: 80px; margin-right: 15px;" id="txtDhcpScopeLeaseTimeDays" placeholder="Days">
- <label for="txtDhcpScopeLeaseTimeHours" class="control-label">Hours</label>
- <input type="number" class="form-control" style="display: inline; width: 80px; margin-right: 15px;" id="txtDhcpScopeLeaseTimeHours" placeholder="Hrs">
- <label for="txtDhcpScopeLeaseTimeMinutes" class="control-label">Minutes</label>
- <input type="number" class="form-control" style="display: inline; width: 80px; margin-right: 15px;" id="txtDhcpScopeLeaseTimeMinutes" placeholder="Mins">
- </div>
- <div class="col-sm-offset-3 col-sm-8" style="padding-top: 5px;">The duration for which the clients should be leased the IP address.</div>
- </div>
- <div class="form-group" style="margin-bottom: 0px;">
- <label for="txtDhcpScopeOfferDelayTime" class="col-sm-3 control-label">Offer Delay Time</label>
- <div class="col-sm-3">
- <input type="number" class="form-control" style="width: 80px; display: inline;" id="txtDhcpScopeOfferDelayTime" placeholder="Delay">
- <span>milliseconds</span>
- </div>
- <div class="col-sm-offset-3 col-sm-8" style="padding-top: 5px;">The time duration that the DHCP server delays sending an DHCPOFFER message.</div>
- </div>
- </div>
- <div class="well well-sm form-horizontal">
- <div class="form-group">
- <label for="chkDhcpScopePingCheckEnabled" class="col-sm-3 control-label">Ping Check</label>
- <div class="col-sm-6">
- <div class="checkbox">
- <label>
- <input id="chkDhcpScopePingCheckEnabled" type="checkbox"> Enable Ping Check
- </label>
- </div>
- </div>
- <div class="col-sm-offset-3 col-sm-8" style="padding-top: 5px; margin-bottom: 10px;">Enable this option to allow DHCP server to find out if an IP address is already in use to prevent IP address conflict when some of the devices on the network have manually configured IP addresses.</div>
- </div>
- <div class="form-group">
- <label for="txtDhcpScopePingCheckTimeout" class="col-sm-3 control-label">Ping Check Timeout</label>
- <div class="col-sm-4">
- <input type="number" class="form-control" style="width: 100px; display: inline;" id="txtDhcpScopePingCheckTimeout" placeholder="timeout">
- <span>milliseconds (default 1000)</span>
- </div>
- <div class="col-sm-offset-3 col-sm-8" style="padding-top: 5px;">The timeout interval to wait for an ping reply.</div>
- </div>
- <div class="form-group">
- <label for="txtDhcpScopePingCheckRetries" class="col-sm-3 control-label">Ping Check Retries</label>
- <div class="col-sm-3">
- <input type="number" class="form-control" style="width: 100px; display: inline;" id="txtDhcpScopePingCheckRetries" placeholder="retry">
- <span>(default 2)</span>
- </div>
- <div class="col-sm-offset-3 col-sm-8" style="padding-top: 5px;">The maximum number of ping requests to try.</div>
- </div>
- <div style="padding-top: 5px;">Warning! Ping check would work as expected only when you make sure that all the client devices with manually configured IP addresses on the network respond to a ping request. Devices running Microsoft Windows by default drop ping requests at host firewall and will cause this ping check to fail to detect in use IP addresses. It is recommended to not rely on this option and instead make sure that you exclude a range of addresses using Exclusions and manually assign IP addresses to your devices only in the excluded range.</div>
- </div>
- <div class="well well-sm form-horizontal">
- <div class="form-group">
- <label for="txtDhcpScopeDomainName" class="col-sm-3 control-label">Domain Name</label>
- <div class="col-sm-6">
- <input type="text" class="form-control" id="txtDhcpScopeDomainName" placeholder="Domain Name">
- </div>
- <div class="col-sm-offset-3 col-sm-8" style="padding-top: 5px;">The domain name for this network to allow updating DNS forward and reverse records for all clients. Use a domain name that you own or that is not in common use like 'local' so that you don't block out an existing domain name.</div>
- </div>
- <div class="form-group">
- <label for="txtDhcpScopeDnsTtl" class="col-sm-3 control-label">DNS TTL</label>
- <div class="col-sm-3">
- <input type="number" class="form-control" style="width: 100px; display: inline;" id="txtDhcpScopeDnsTtl" placeholder="DNS TTL">
- <span>seconds (default 900)</span>
- </div>
- <div class="col-sm-offset-3 col-sm-8" style="padding-top: 5px;">The TTL value of the DNS records updated for the above provided domain name.</div>
- </div>
- </div>
- <div class="well well-sm form-horizontal">
- <div class="form-group">
- <label for="txtDhcpScopeRouterAddress" class="col-sm-3 control-label">Router Address</label>
- <div class="col-sm-3">
- <input type="text" class="form-control" id="txtDhcpScopeRouterAddress" placeholder="Router Address">
- </div>
- <div class="col-sm-offset-3 col-sm-8" style="padding-top: 5px;">The default gateway IP address to be used by the clients.</div>
- </div>
- <div class="form-group">
- <label for="txtDhcpScopeDnsServers" class="col-sm-3 control-label">DNS Servers</label>
- <div class="col-sm-6">
- <div class="checkbox">
- <label>
- <input id="chkUseThisDnsServer" type="checkbox" onclick="$('#txtDhcpScopeDnsServers').prop('disabled', $(this).prop('checked'));"> Use This DNS Server
- </label>
- </div>
- </div>
- <div class="col-sm-offset-3 col-sm-8" style="padding-top: 5px; margin-bottom: 10px;">Enable this option to automatically use this DNS Server.</div>
- <div class="col-sm-offset-3 col-sm-3">
- <textarea id="txtDhcpScopeDnsServers" class="form-control" rows="2" spellcheck="false"></textarea>
- </div>
- <div class="col-sm-offset-3 col-sm-8" style="padding-top: 5px;">The DNS server IP addresses to be used by the clients.</div>
- </div>
- <div class="form-group">
- <label for="txtDhcpScopeWinsServers" class="col-sm-3 control-label">WINS Servers</label>
- <div class="col-sm-3">
- <textarea id="txtDhcpScopeWinsServers" class="form-control" rows="2" spellcheck="false"></textarea>
- </div>
- <div class="col-sm-offset-3 col-sm-8" style="padding-top: 5px;">The NBNS/WINS server IP addresses to be used by the clients.</div>
- </div>
- <div class="form-group">
- <label for="txtDhcpScopeNtpServers" class="col-sm-3 control-label">NTP Servers</label>
- <div class="col-sm-3">
- <textarea id="txtDhcpScopeNtpServers" class="form-control" rows="2" spellcheck="false"></textarea>
- </div>
- <div class="col-sm-offset-3 col-sm-8" style="padding-top: 5px;">The Network Time Protocol (NTP) server IP addresses to be used by the clients.</div>
- </div>
- </div>
- <div class="well well-sm form-horizontal">
- <div class="form-group" style="margin-bottom: 0px;">
- <label for="tableDhcpScopeStaticRoutes" class="col-sm-3 control-label">Static Routes</label>
- <div class="col-sm-7">
- <table class="table table-hover" style="margin-bottom: 0px;">
- <thead>
- <tr>
- <th>Destination</th>
- <th>Subnet Mask</th>
- <th>Router</th>
- <th><button type="button" class="btn btn-default" style="padding: 0px 20px;" onclick="addDhcpScopeStaticRouteRow('', '', '');">Add</button></th>
- </tr>
- </thead>
- <tbody id="tableDhcpScopeStaticRoutes"></tbody>
- </table>
- </div>
- <div class="col-sm-offset-3 col-sm-8" style="padding-top: 5px;">The static routes to be used by the clients for accessing specified destination networks.</div>
- </div>
- </div>
- <div class="well well-sm form-horizontal">
- <div class="form-group">
- <label for="txtDhcpScopeServerAddress" class="col-sm-3 control-label">Bootstrap Server Address</label>
- <div class="col-sm-3">
- <input type="text" class="form-control" id="txtDhcpScopeServerAddress" placeholder="Bootstrap Server Address">
- </div>
- <div class="col-sm-offset-3 col-sm-8" style="padding-top: 5px;">The bootstrap TFTP server IP address to be used by the clients. If not specified, the DHCP server's IP address is used.</div>
- </div>
- <div class="form-group">
- <label for="txtDhcpScopeServerHostName" class="col-sm-3 control-label">Bootstrap Server Host Name</label>
- <div class="col-sm-3">
- <input type="text" class="form-control" id="txtDhcpScopeServerHostName" placeholder="Bootstrap Server Host Name">
- </div>
- <div class="col-sm-offset-3 col-sm-8" style="padding-top: 5px;">The optional bootstrap TFTP server host name to be used by the clients to identify the TFTP server.</div>
- </div>
- <div class="form-group">
- <label for="txtDhcpScopeBootFileName" class="col-sm-3 control-label">Boot File Name</label>
- <div class="col-sm-3">
- <input type="text" class="form-control" id="txtDhcpScopeBootFileName" placeholder="Bootstrap File Name">
- </div>
- <div class="col-sm-offset-3 col-sm-8" style="padding-top: 5px;">The boot file name stored on the bootstrap TFTP server to be used by the clients.</div>
- </div>
- </div>
- <div class="well well-sm form-horizontal">
- <div class="form-group" style="margin-bottom: 0px;">
- <label for="tableDhcpScopeVendorInfo" class="col-sm-3 control-label">Vendor Specific Information</label>
- <div class="col-sm-9">
- <table class="table table-hover" style="margin-bottom: 0px;">
- <thead>
- <tr>
- <th>Vendor Class Identifier</th>
- <th>Vendor Specific Information</th>
- <th><button type="button" class="btn btn-default" style="padding: 0px 20px;" onclick="addDhcpScopeVendorInfoRow('', '');">Add</button></th>
- </tr>
- </thead>
- <tbody id="tableDhcpScopeVendorInfo"></tbody>
- </table>
- </div>
- <div class="col-sm-offset-3 col-sm-8" style="padding-top: 5px;">The vendor specific information option (43) to be sent to the clients that match the vendor class identifier option (60) in the request. The vendor class identifier can be empty string to match any identifier, or matched exactly, or match a substring, for example <code>substring(vendor-class-identifier,0,9)=="PXEClient"</code>. The vendor specific information must be a colon (:) separated hex string, for example <code>06:01:03:0A:04:00:50:58:45:09:14:00:00:11:52:61:73:70:62:65:72:72:79:20:50:69:20:42:6F:6F:74:FF</code>.</div>
- </div>
- </div>
- <div class="well well-sm form-horizontal">
- <div class="form-group">
- <label for="tableDhcpScopeExclusions" class="col-sm-3 control-label">Exclusions</label>
- <div class="col-sm-6">
- <table class="table table-hover" style="margin-bottom: 0px;">
- <thead>
- <tr>
- <th>Starting Address</th>
- <th>Ending Address</th>
- <th><button type="button" class="btn btn-default" style="padding: 0px 20px;" onclick="addDhcpScopeExclusionRow('', '');">Add</button></th>
- </tr>
- </thead>
- <tbody id="tableDhcpScopeExclusions"></tbody>
- </table>
- </div>
- <div class="col-sm-offset-3 col-sm-8" style="padding-top: 5px;">The IP address range that must be excluded or not assigned dynamically to any client by the DHCP server.</div>
- </div>
- <div style="padding-top: 5px;">Note! Make sure to exclude address ranges if you plan to manually assign IP addresses to some of the devices or to assign reserved leases so that these IP addresses are not dynamically allocated in the first place.</div>
- </div>
- <div class="well well-sm form-horizontal">
- <div class="form-group" style="margin-bottom: 0px;">
- <label for="tableDhcpScopeReservedLeases" class="col-sm-3 control-label">Reserved Leases</label>
- <div class="col-sm-6">
- <div class="checkbox">
- <label>
- <input id="chkAllowOnlyReservedLeases" type="checkbox"> Allow Only Reserved Lease Allocations
- </label>
- </div>
- </div>
- <div class="col-sm-offset-3 col-sm-8" style="padding-top: 5px;">Enable this option to stop dynamic IP address allocation and allocate only reserved IP addresses.</div>
- <div class="col-sm-offset-3 col-sm-9">
- <table class="table table-hover" style="margin-bottom: 0px;">
- <thead>
- <tr>
- <th>Host Name</th>
- <th>MAC Address</th>
- <th>IP Address</th>
- <th>Comments</th>
- <th><button type="button" class="btn btn-default" style="padding: 0px 20px;" onclick="addDhcpScopeReservedLeaseRow('', '', '', '');">Add</button></th>
- </tr>
- </thead>
- <tbody id="tableDhcpScopeReservedLeases"></tbody>
- </table>
- </div>
- <div class="col-sm-offset-3 col-sm-8" style="padding-top: 5px;">The reserved IP addresses to be assigned to specific clients based on their MAC address. Set a hostname to override the client's hostname.</div>
- </div>
- </div>
- <div class="form-group" style="margin-bottom: 0px;">
- <button type="submit" class="btn btn-primary" style="width: 100px;" id="btnSaveDhcpScope" data-loading-text="Saving..." onclick="saveDhcpScope(); return false;">Save</button>
- <button type="button" class="btn btn-default" style="width: 100px;" onclick="refreshDhcpScopes();">Cancel</button>
- </div>
- </form>
- </div>
- </div>
- </div>
- </div>
- <div id="mainPanelTabPaneLogs" role="tabpanel" class="tab-pane" style="padding: 10px 0 0 0;">
- <ul class="nav nav-tabs" role="tablist">
- <li id="logsTabListLogViewer" role="presentation" class="active"><a href="#logsTabPaneLogViewer" aria-controls="logsTabPaneLogViewer" role="tab" data-toggle="tab" onclick="refreshLogFilesList();">View Logs</a></li>
- <li id="logsTabListQueryLogs" role="presentation"><a href="#logsTabPaneQueryLogs" aria-controls="logsTabPaneQueryLogs" role="tab" data-toggle="tab" onclick="refreshQueryLogsTab();">Query Logs</a></li>
- </ul>
- <div class="tab-content">
- <div id="logsTabPaneLogViewer" class="tab-pane active" style="padding-top: 15px;">
- <div class="well well-sm log-list-pane">
- <div id="lstLogFiles" class="logs">
- </div>
- </div>
- <div id="divLogViewer" class="log-viewer-pane">
- <div class="panel panel-default">
- <div class="panel-heading" style="height: 36px; padding: 4px 6px;">
- <div id="txtLogViewerTitle" style="float: left; padding: 4px;">20171012</div>
- <div style="float: right;">
- <button type="button" class="btn btn-default" data-loading-text="Download" onclick="downloadLog();" style="font-size: 12px; padding: 4px 6px;">Download</button>
- <button id="btnDeleteLog" type="button" class="btn btn-danger" data-loading-text="Delete" onclick="deleteLog();" style="font-size: 12px; padding: 4px 6px;">Delete</button>
- </div>
- </div>
- <div class="panel-body">
- <div id="divLogViewerLoader" style="margin-top: 20px; height: 400px;"></div>
- <pre id="preLogViewerBody" style="display: none; word-wrap: normal; word-break: normal;"></pre>
- </div>
- </div>
- </div>
- </div>
- <div id="logsTabPaneQueryLogs" class="tab-pane active" style="padding-top: 15px;">
- <form id="frmQueryLogs" class="form-inline well" style="padding-bottom: 6px;">
- <div class="form-group">
- <label for="optQueryLogsAppName">App Name</label>
- <select class="form-control" id="optQueryLogsAppName">
- </select>
- </div>
- <div class="form-group">
- <label for="optQueryLogsClassPath">Class Path</label>
- <select class="form-control" id="optQueryLogsClassPath">
- </select>
- </div>
- <div class="form-group">
- <label for="txtQueryLogPageNumber">Page Number</label>
- <input id="txtQueryLogPageNumber" type="number" class="form-control" style="width: 120px;" value="1" />
- </div>
- <div class="form-group">
- <label for="optQueryLogsEntriesPerPage">Logs Per Page</label>
- <select class="form-control" id="optQueryLogsEntriesPerPage">
- <option>10</option>
- <option>25</option>
- <option>50</option>
- <option>100</option>
- <option>250</option>
- <option>500</option>
- </select>
- </div>
- <div class="form-group">
- <label for="optQueryLogsDescendingOrder">Order</label>
- <select class="form-control" id="optQueryLogsDescendingOrder">
- <option value="false">Ascending</option>
- <option value="true" selected>Descending</option>
- </select>
- </div>
- <div class="form-group">
- <label for="txtQueryLogStart">From</label>
- <div class='input-group date' id='dtpQueryLogStart'>
- <input id="txtQueryLogStart" type='text' class="form-control" />
- <span class="input-group-addon">
- <span class="glyphicon glyphicon-calendar"></span>
- </span>
- </div>
- </div>
- <div class="form-group">
- <label for="txtQueryLogEnd">To</label>
- <div class='input-group date' id='dtpQueryLogEnd'>
- <input id="txtQueryLogEnd" type='text' class="form-control" />
- <span class="input-group-addon">
- <span class="glyphicon glyphicon-calendar"></span>
- </span>
- </div>
- </div>
- <div class="form-group">
- <label for="txtQueryLogClientIpAddress">Client IP Address</label>
- <input id="txtQueryLogClientIpAddress" type='text' class="form-control" style="min-width: 170px;" />
- </div>
- <div class="form-group">
- <label for="optQueryLogsProtocol">Protocol</label>
- <select class="form-control" id="optQueryLogsProtocol">
- <option selected></option>
- <option value="Udp">UDP</option>
- <option value="Tcp">TCP</option>
- <option value="Tls">TLS</option>
- <option value="Https">HTTPS</option>
- <option value="HttpsJson">HTTPS (JSON)</option>
- </select>
- </div>
- <div class="form-group">
- <label for="optQueryLogsResponseType">Response Type</label>
- <select class="form-control" id="optQueryLogsResponseType">
- <option selected></option>
- <option>Authoritative</option>
- <option>Recursive</option>
- <option>Cached</option>
- <option>Blocked</option>
- </select>
- </div>
- <div class="form-group">
- <label for="optQueryLogsResponseCode">RCODE</label>
- <select class="form-control" id="optQueryLogsResponseCode">
- <option selected></option>
- <option value="NoError">No Error</option>
- <option value="FormatError">Format Error</option>
- <option value="ServerFailure">Server Failure</option>
- <option value="NxDomain">NX Domain</option>
- <option value="NotImplemented">Not Implemented</option>
- <option value="Refused">Refused</option>
- <option value="YXDomain">YX Domain</option>
- <option value="NotAuthorized">Not Authorized</option>
- </select>
- </div>
- <div class="form-group">
- <label for="txtQueryLogQName">Domain</label>
- <input id="txtQueryLogQName" type='text' class="form-control" style="min-width: 300px;" />
- </div>
- <div class="form-group">
- <label for="txtQueryLogQType">Type</label>
- <input id="txtQueryLogQType" type='text' class="form-control" />
- </div>
- <div class="form-group">
- <label for="optQueryLogQClass">Class</label>
- <select class="form-control" id="optQueryLogQClass">
- <option selected></option>
- <option>IN</option>
- <option>CS</option>
- <option>CH</option>
- <option>HS</option>
- <option>NONE</option>
- <option>ANY</option>
- </select>
- </div>
- <div class="form-group" style="display: block;">
- <button type="submit" class="btn btn-primary" id="btnQueryLogs" data-loading-text="Querying..." onclick="queryLogs(); return false;" style="margin-right: 6px;">Query</button>
- <button type="reset" class="btn btn-default">Reset</button>
- </div>
- </form>
- <div id="divQueryLogsLoader" style="margin-top: 20px; height: 300px;"></div>
- <div id="divQueryLogsTable">
- <div>
- <div class="pull-left" style="padding: 8px;">
- <b id="tableQueryLogsTopStatus">Found: 0 logs</b>
- </div>
- <div class="pull-right">
- <nav aria-label="Page navigation">
- <ul id="tableQueryLogsTopPagination" class="pagination" style="margin: 0;">
- <li><a href="#" aria-label="Previous"><span aria-hidden="true">«</span></a></li>
- <li><a href="#">1</a></li>
- <li><a href="#" aria-label="Next"><span aria-hidden="true">»</span></a></li>
- </ul>
- </nav>
- </div>
- <div class="clearfix"></div>
- </div>
- <table class="table table-hover">
- <thead>
- <tr>
- <th>#</th>
- <th style="width: 95px;">Timestamp</th>
- <th>Client IP Address</th>
- <th>Protocol</th>
- <th>Response Type</th>
- <th>RCODE</th>
- <th style="min-width: 200px;">Domain</th>
- <th>Type</th>
- <th>Class</th>
- <th>Answer</th>
- </tr>
- </thead>
- <tbody id="tableQueryLogsBody">
- </tbody>
- <tfoot>
- <tr>
- <td colspan="10">
- <div>
- <div class="pull-left">
- <b id="tableQueryLogsFooterStatus">Found: 0 logs</b>
- </div>
- <div class="pull-right">
- <nav aria-label="Page navigation">
- <ul id="tableQueryLogsFooterPagination" class="pagination" style="margin: 0;">
- <li><a href="#" aria-label="Previous"><span aria-hidden="true">«</span></a></li>
- <li><a href="#">1</a></li>
- <li><a href="#" aria-label="Next"><span aria-hidden="true">»</span></a></li>
- </ul>
- </nav>
- </div>
- <div class="clearfix"></div>
- </div>
- </td>
- </tr>
- </tfoot>
- </table>
- </div>
- </div>
- </div>
- </div>
- <div id="mainPanelTabPaneAbout" role="tabpanel" class="tab-pane" style="padding: 40px 0 20px 0;">
- <div class="about" style="text-align: center;">
- <img src="/img/logo.png" alt="Technitium Logo" />
- <h1>Technitium DNS Server</h1>
- <p>Version <span id="lblAboutVersion"></span></p>
- <p style="max-width: 800px; margin: 0 auto 10px auto;">
- Copyright (C) 2022 Shreyas Zare (shreyas@technitium.com)<br />
- This program comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions.<br />
- </p>
- <p>Source code available under <a href="https://go.technitium.com/?id=24" target="_blank">GNU General Public License v3.0</a> on <a href="https://github.com/TechnitiumSoftware/DnsServer" target="_blank"><i class="fa fa-github"></i> GitHub</a></p>
- <h3 style="margin-top: 40px;"><a style="color: rgb(51,51,51) !important;" href="https://go.technitium.com/?id=23" target="_blank">What's New?</a></h3>
- <p>Read the <a href="https://go.technitium.com/?id=23" target="_blank">change log</a> to know whats new in this release.</p>
- <h3 style="margin-top: 40px;"><a style="color: rgb(51,51,51) !important;" href="https://github.com/TechnitiumSoftware/DnsServer/blob/master/APIDOCS.md" target="_blank">API Documentation</a></h3>
- <p>The DNS server HTTP API allows any 3rd party app or script to configure the DNS server. The HTTP API is used by this web console and thus all the actions that this web console does can be performed via the API. Read the <a href="https://github.com/TechnitiumSoftware/DnsServer/blob/master/APIDOCS.md" target="_blank">HTTP API documentation</a> for complete details.</p>
- <h3 style="margin-top: 40px;"><a style="color: rgb(51,51,51) !important;" href="https://go.technitium.com/?id=25" target="_blank">Help Topics</a></h3>
- <p>Read the latest <a href="https://go.technitium.com/?id=25" target="_blank">online help topics</a> which contains the DNS Server user manual and covers frequently asked questions.</p>
- <h3 style="margin-top: 40px;">Support</h3>
- <p>For support, send an email to <a href="mailto:support@technitium.com" target="_blank">support@technitium.com</a>.</p>
- <p>
- Follow <a href="https://twitter.com/Technitium" target="_blank">@technitium</a> on Twitter.<br />
- Checkout <a href="https://blog.technitium.com/" target="_blank">Technitium Blog</a>.
- </p>
- <p>
- Join <a href="https://www.reddit.com/r/technitium/" target="_blank">/r/technitium</a> on Reddit.
- </p>
- <h3 style="margin-top: 40px;"><a style="color: rgb(51,51,51) !important;" href="https://go.technitium.com/?id=35" target="_blank">Donate</a></h3>
- <p>Make a contribution to Technitium by becoming a Patron and help making new software, updates, and features possible.</p>
- <p>
- <a href="https://go.technitium.com/?id=35" target="_blank">Become A Patron Now!</a>
- </p>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <div id="modalChangePassword" class="modal fade" tabindex="-1" role="dialog">
- <form class="form-horizontal">
- <div class="modal-dialog" role="document">
- <div class="modal-content">
- <div class="modal-header">
- <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
- <h4 class="modal-title">Change Password</h4>
- </div>
- <div class="modal-body">
- <div id="divChangePasswordAlert"></div>
- <div class="form-group">
- <label for="txtChangePasswordUsername" class="col-sm-4 control-label">Username</label>
- <div class="col-sm-7">
- <input id="txtChangePasswordUsername" type="text" class="form-control" placeholder="username" disabled>
- </div>
- </div>
- <div class="form-group">
- <label for="txtChangePasswordNewPassword" class="col-sm-4 control-label">New Password</label>
- <div class="col-sm-7">
- <input id="txtChangePasswordNewPassword" type="password" class="form-control" placeholder="new password">
- </div>
- </div>
- <div class="form-group">
- <label for="txtChangePasswordConfirmPassword" class="col-sm-4 control-label">Confirm Password</label>
- <div class="col-sm-7">
- <input id="txtChangePasswordConfirmPassword" type="password" class="form-control" placeholder="confirm password">
- </div>
- </div>
- </div>
- <div class="modal-footer">
- <button id="btnChangePasswordSave" type="submit" class="btn btn-primary" data-loading-text="Saving..." onclick="changePassword(); return false;">Save</button>
- <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
- </div>
- </div>
- </div>
- </form>
- </div>
- <div id="modalForgotPassword" class="modal fade" tabindex="-1" role="dialog">
- <div class="modal-dialog" role="document">
- <div class="modal-content">
- <div class="modal-header">
- <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
- <h4 class="modal-title">Forgot Password?</h4>
- </div>
- <div class="modal-body">
- <p>Follow these steps to reset 'admin' password:</p>
- <ol>
- <li>Find the DNS Server config folder and locate the <b>dns.config</b> file. The config folder will be found where the DNS Server is installed.</li>
- <li>Rename the <b>dns.config</b> file as <b>reset.config</b></li>
- <li>Restart the DNS Server to complete the password reset process.</li>
- <li>Just refresh this web page in the web browser to auto login with default credentials and quickly change the password.</li>
- </ol>
- <p>Note: To reset 'admin' password, you will need file system access on the server running this DNS Server. </p>
- </div>
- <div class="modal-footer">
- <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
- </div>
- </div>
- </div>
- </div>
- <div id="modalUpdateAvailable" class="modal fade" tabindex="-1" role="dialog">
- <div class="modal-dialog" role="document">
- <div class="modal-content">
- <div class="modal-header">
- <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
- <h4 class="modal-title" id="lblUpdateAvailableTitle">New Update Available</h4>
- </div>
- <div class="modal-body">
- <div style="margin-bottom: 20px;">
- <div id="lblUpdateMessage" style="margin-bottom: 10px;"></div>
- <a id="lnkUpdateDownload" href="#" target="_blank" style="font-weight: bold; font-size: 18px;">Download Now!</a>
- <a id="lnkUpdateInstructions" href="#" target="_blank" style="font-weight: bold; font-size: 18px;">Update Instructions</a>
- </div>
- <div style="margin-bottom: 10px;">
- <div style="font-weight: bold;">Update Version: <span id="lblUpdateVersion"></span></div>
- <div>Current Version: <span id="lblCurrentVersion"></span></div>
- </div>
- <div style="margin-bottom: 10px;">
- <a id="lnkUpdateChangeLog" href="#" target="_blank" style="font-weight: bold;">Read Change Logs</a>
- </div>
- <div>
- Note! It is highly recommended to Backup Settings before installing the update.
- </div>
- </div>
- <div class="modal-footer">
- <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
- </div>
- </div>
- </div>
- </div>
- <div id="modalAddZone" class="modal fade" tabindex="-1" role="dialog">
- <form class="form-horizontal">
- <div class="modal-dialog" role="document" style="width: 780px;">
- <div class="modal-content">
- <div class="modal-header">
- <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
- <h4 class="modal-title">Add Zone</h4>
- </div>
- <div class="modal-body">
- <div id="divAddZoneAlert"></div>
- <div style="max-height: 500px; overflow-y: auto; padding: 0 6px; overflow-x: hidden;">
- <div class="form-group">
- <label for="txtAddZone" class="col-sm-4 control-label">Zone</label>
- <div class="col-sm-7">
- <input id="txtAddZone" type="text" class="form-control" placeholder="example.com or 192.168.0.0/24 or 2001:db8::/64">
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-4 control-label">Type</label>
- <div class="col-sm-7">
- <div class="radio">
- <label>
- <input type="radio" name="rdAddZoneType" id="rdAddZoneTypePrimary" value="Primary" checked>
- Primary Zone (default)
- </label>
- </div>
- <div class="radio">
- <label>
- <input type="radio" name="rdAddZoneType" id="rdAddZoneTypeSecondary" value="Secondary">
- Secondary Zone
- </label>
- </div>
- <div class="radio">
- <label>
- <input type="radio" name="rdAddZoneType" id="rdAddZoneTypeStub" value="Stub">
- Stub Zone
- </label>
- </div>
- <div class="radio">
- <label>
- <input type="radio" name="rdAddZoneType" id="rdAddZoneTypeForwarder" value="Forwarder">
- Conditional Forwarder Zone
- </label>
- </div>
- </div>
- </div>
- <div class="form-group" id="divAddZonePrimaryNameServerAddresses">
- <label for="txtAddZonePrimaryNameServerAddresses" class="col-sm-4 control-label">Primary Name Server Addresses (Optional)</label>
- <div class="col-sm-7">
- <textarea id="txtAddZonePrimaryNameServerAddresses" class="form-control" rows="3" spellcheck="false" placeholder="192.168.1.1
- 2001:db8::
- ns1.example.com (192.168.1.1)
- ns1.example.com ([2001:db8::])
- "></textarea>
- </div>
- </div>
- <div class="form-group" id="divAddZoneZoneTransferProtocol">
- <label class="col-sm-4 control-label">Zone Transfer Protocol</label>
- <div class="col-sm-7">
- <div class="radio">
- <label>
- <input type="radio" name="rdAddZoneZoneTransferProtocol" id="rdAddZoneZoneTransferProtocolTcp" value="Tcp" checked>
- XFR-over-TCP (default)
- </label>
- </div>
- <div class="radio">
- <label>
- <input type="radio" name="rdAddZoneZoneTransferProtocol" value="Tls">
- XFR-over-TLS
- </label>
- </div>
- </div>
- </div>
- <div class="form-group" id="divAddZoneTsigKeyName">
- <label for="optAddZoneTsigKeyName" class="col-sm-4 control-label">TSIG Key Name (Optional)</label>
- <div class="col-sm-7">
- <select id="optAddZoneTsigKeyName" class="form-control"></select>
- </div>
- </div>
- <div class="form-group" id="divAddZoneForwarderProtocol">
- <label class="col-sm-4 control-label">Protocol</label>
- <div class="col-sm-7">
- <div class="radio">
- <label>
- <input type="radio" name="rdAddZoneForwarderProtocol" id="rdAddZoneForwarderProtocolUdp" value="Udp" checked>
- DNS-over-UDP (default)
- </label>
- </div>
- <div class="radio">
- <label>
- <input type="radio" name="rdAddZoneForwarderProtocol" value="Tcp">
- DNS-over-TCP
- </label>
- </div>
- <div class="radio">
- <label>
- <input type="radio" name="rdAddZoneForwarderProtocol" value="Tls">
- DNS-over-TLS
- </label>
- </div>
- <div class="radio">
- <label>
- <input type="radio" name="rdAddZoneForwarderProtocol" value="Https">
- DNS-over-HTTPS
- </label>
- </div>
- <div class="radio">
- <label>
- <input type="radio" name="rdAddZoneForwarderProtocol" value="HttpsJson">
- DNS-over-HTTPS (JSON)
- </label>
- </div>
- </div>
- </div>
- <div class="form-group" id="divAddZoneForwarder">
- <label for="txtAddZoneForwarder" class="col-sm-4 control-label">Forwarder</label>
- <div class="col-sm-7">
- <div class="checkbox">
- <label>
- <input id="chkAddZoneForwarderThisServer" type="checkbox" onclick="updateAddZoneFormForwarderThisServer();"> Use "This Server"
- </label>
- </div>
- <div style="padding-top: 5px; padding-left: 20px; padding-bottom: 10px;">
- When using "This Server", if a record does not exists in the zone then the request is forwarded to the DNS server's resolver internally. This allows you to override any record for the forwarded domain name or control its DNSSEC validation.
- </div>
- <input id="txtAddZoneForwarder" type="text" class="form-control" placeholder="8.8.8.8">
- </div>
- </div>
- <div class="form-group" id="divAddZoneForwarderDnssecValidation">
- <label class="col-sm-4 control-label">DNSSEC</label>
- <div class="col-sm-7">
- <div class="checkbox" style="margin-bottom: 6px;">
- <label>
- <input id="chkAddZoneForwarderDnssecValidation" type="checkbox"> Enable DNSSEC Validation
- </label>
- </div>
- </div>
- </div>
- <div id="divAddZoneForwarderProxy">
- <div class="form-group">
- <label class="col-sm-4 control-label">Network Proxy</label>
- <div class="col-sm-7">
- <div class="radio">
- <label>
- <input type="radio" name="rdAddZoneForwarderProxyType" id="rdAddZoneForwarderProxyTypeNone" value="None" checked>
- No Proxy (default)
- </label>
- </div>
- <div class="radio">
- <label>
- <input type="radio" name="rdAddZoneForwarderProxyType" value="Http">
- HTTP Proxy
- </label>
- </div>
- <div class="radio">
- <label>
- <input type="radio" name="rdAddZoneForwarderProxyType" value="Socks5">
- SOCKS5 Proxy
- </label>
- </div>
- </div>
- </div>
- <div class="form-group">
- <label for="txtAddZoneForwarderProxyAddress" class="col-sm-4 control-label">Proxy Server Address</label>
- <div class="col-sm-7">
- <input id="txtAddZoneForwarderProxyAddress" type="text" class="form-control" placeholder="domain name or IP address">
- </div>
- </div>
- <div class="form-group">
- <label for="txtAddZoneForwarderProxyPort" class="col-sm-4 control-label">Proxy Server Port</label>
- <div class="col-sm-7">
- <input id="txtAddZoneForwarderProxyPort" type="number" class="form-control" placeholder="port" style="width: 100px;">
- </div>
- </div>
- <div class="form-group">
- <label for="txtAddZoneForwarderProxyUsername" class="col-sm-4 control-label">Proxy Server Username</label>
- <div class="col-sm-7">
- <input id="txtAddZoneForwarderProxyUsername" type="text" class="form-control" placeholder="username">
- </div>
- </div>
- <div class="form-group">
- <label for="txtAddZoneForwarderProxyPassword" class="col-sm-4 control-label">Proxy Server Password</label>
- <div class="col-sm-7">
- <input id="txtAddZoneForwarderProxyPassword" type="password" class="form-control" placeholder="password">
- </div>
- </div>
- </div>
- </div>
- </div>
- <div class="modal-footer">
- <button id="btnAddZone" type="submit" class="btn btn-primary" data-loading-text="Adding..." onclick="addZone(); return false;">Add</button>
- <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
- </div>
- </div>
- </div>
- </form>
- </div>
- <div id="modalAddEditRecord" class="modal fade" tabindex="-1" role="dialog">
- <form class="form-horizontal">
- <div class="modal-dialog" role="document" style="width: 780px;">
- <div class="modal-content">
- <div class="modal-header">
- <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
- <h4 id="titleAddEditRecord" class="modal-title">Add Edit Record</h4>
- </div>
- <div class="modal-body">
- <div id="divAddEditRecordAlert"></div>
- <div style="max-height: 500px; overflow-y: auto; padding: 0 15px; overflow-x: hidden;">
- <div class="form-group">
- <label for="txtAddEditRecordName" class="col-sm-4 control-label">Name</label>
- <div class="col-sm-7">
- <input id="txtAddEditRecordName" type="text" class="form-control" placeholder="@">
- <div style="margin-top: 6px; font-weight: 700;">.<span id="lblAddEditRecordZoneName">example.com</span></div>
- </div>
- </div>
- <div class="form-group">
- <label for="optAddEditRecordType" class="col-sm-4 control-label">Type</label>
- <div class="col-sm-7">
- <select id="optAddEditRecordType" class="form-control" onchange="modifyAddRecordFormByType();" style="width: auto;">
- <option>A</option>
- <option>NS</option>
- <option id="optEditRecordTypeSoa">SOA</option>
- <option>CNAME</option>
- <option>PTR</option>
- <option>MX</option>
- <option>TXT</option>
- <option>AAAA</option>
- <option>SRV</option>
- <option>DNAME</option>
- <option id="optAddEditRecordTypeDs">DS</option>
- <option>CAA</option>
- <option id="optAddEditRecordTypeAName">ANAME</option>
- <option id="optAddEditRecordTypeFwd">FWD</option>
- <option id="optAddEditRecordTypeApp">APP</option>
- </select>
- </div>
- </div>
- <div class="form-group" id="divAddEditRecordTtl">
- <label for="txtAddEditRecordTtl" class="col-sm-4 control-label">TTL</label>
- <div class="col-sm-7">
- <input id="txtAddEditRecordTtl" type="number" class="form-control" placeholder="3600" style="width: 100px;">
- </div>
- </div>
- <div id="divAddEditRecordData">
- <div class="form-group">
- <label id="lblAddEditRecordDataValue" for="txtAddEditRecordDataValue" class="col-sm-4 control-label">Value</label>
- <div class="col-sm-7">
- <input id="txtAddEditRecordDataValue" type="text" class="form-control">
- </div>
- </div>
- <div id="divAddEditRecordDataPtr" class="form-group">
- <div class="col-sm-offset-4 col-sm-7">
- <div class="checkbox">
- <label>
- <input id="chkAddEditRecordDataPtr" type="checkbox"> <span id="chkAddEditRecordDataPtrLabel">Add reverse (PTR) record</span>
- </label>
- </div>
- <div class="checkbox">
- <label>
- <input id="chkAddEditRecordDataCreatePtrZone" type="checkbox"> Create reverse zone for PTR record
- </label>
- </div>
- </div>
- </div>
- </div>
- <div id="divAddEditRecordDataNs" style="display: none;">
- <div class="form-group">
- <label for="txtAddEditRecordDataNsNameServer" class="col-sm-4 control-label">Name Server</label>
- <div class="col-sm-7">
- <input id="txtAddEditRecordDataNsNameServer" type="text" class="form-control">
- </div>
- </div>
- <div class="form-group">
- <label for="txtAddEditRecordDataNsGlue" class="col-sm-4 control-label">Glue Addresses</label>
- <div class="col-sm-7">
- <textarea id="txtAddEditRecordDataNsGlue" class="form-control" rows="3" spellcheck="false" placeholder="192.168.1.1
- 2001:db8::"></textarea>
- </div>
- </div>
- </div>
- <div id="divEditRecordDataSoa" style="display: none;">
- <div class="form-group">
- <label for="txtEditRecordDataSoaPrimaryNameServer" class="col-sm-4 control-label">Primary Name Server</label>
- <div class="col-sm-7">
- <input id="txtEditRecordDataSoaPrimaryNameServer" type="text" class="form-control">
- </div>
- </div>
- <div class="form-group">
- <label for="txtEditRecordDataSoaResponsiblePerson" class="col-sm-4 control-label">Responsible Person</label>
- <div class="col-sm-7">
- <input id="txtEditRecordDataSoaResponsiblePerson" type="text" class="form-control">
- </div>
- </div>
- <div class="form-group">
- <label for="txtEditRecordDataSoaSerial" class="col-sm-4 control-label">Serial</label>
- <div class="col-sm-7">
- <input id="txtEditRecordDataSoaSerial" type="number" class="form-control" style="width: 150px;">
- </div>
- </div>
- <div class="form-group">
- <label for="txtEditRecordDataSoaRefresh" class="col-sm-4 control-label">Refresh</label>
- <div class="col-sm-7">
- <input id="txtEditRecordDataSoaRefresh" type="number" class="form-control" style="width: 100px;">
- </div>
- </div>
- <div class="form-group">
- <label for="txtEditRecordDataSoaRetry" class="col-sm-4 control-label">Retry</label>
- <div class="col-sm-7">
- <input id="txtEditRecordDataSoaRetry" type="number" class="form-control" style="width: 100px;">
- </div>
- </div>
- <div class="form-group">
- <label for="txtEditRecordDataSoaExpire" class="col-sm-4 control-label">Expire</label>
- <div class="col-sm-7">
- <input id="txtEditRecordDataSoaExpire" type="number" class="form-control" style="width: 100px;">
- </div>
- </div>
- <div class="form-group">
- <label for="txtEditRecordDataSoaMinimum" class="col-sm-4 control-label">Minimum</label>
- <div class="col-sm-7">
- <input id="txtEditRecordDataSoaMinimum" type="number" class="form-control" style="width: 100px;">
- </div>
- </div>
- <div class="form-group" id="divEditRecordDataSoaPrimaryAddresses">
- <label for="txtEditRecordDataSoaPrimaryAddresses" class="col-sm-4 control-label">Primary Name Server Addresses</label>
- <div class="col-sm-7">
- <textarea id="txtEditRecordDataSoaPrimaryAddresses" class="form-control" rows="3" spellcheck="false" placeholder="192.168.1.1
- 2001:db8::
- ns1.example.com (192.168.1.1)
- ns1.example.com ([2001:db8::])
- "></textarea>
- </div>
- </div>
- <div class="form-group" id="divEditRecordDataSoaZoneTransferProtocol">
- <label class="col-sm-4 control-label">Zone Transfer Protocol</label>
- <div class="col-sm-7">
- <div class="radio">
- <label>
- <input type="radio" name="rdEditRecordDataSoaZoneTransferProtocol" id="rdEditRecordDataSoaZoneTransferProtocolTcp" value="Tcp" checked>
- XFR-over-TCP (default)
- </label>
- </div>
- <div class="radio">
- <label>
- <input type="radio" name="rdEditRecordDataSoaZoneTransferProtocol" id="rdEditRecordDataSoaZoneTransferProtocolTls" value="Tls">
- XFR-over-TLS
- </label>
- </div>
- </div>
- </div>
- <div class="form-group" id="divEditRecordDataSoaTsigKeyName">
- <label for="optEditRecordDataSoaTsigKeyName" class="col-sm-4 control-label">TSIG Key Name</label>
- <div class="col-sm-7">
- <select id="optEditRecordDataSoaTsigKeyName" class="form-control"></select>
- </div>
- </div>
- </div>
- <div id="divAddEditRecordDataMx" style="display: none;">
- <div class="form-group">
- <label for="txtAddEditRecordDataMxPreference" class="col-sm-4 control-label">Preference</label>
- <div class="col-sm-7">
- <input id="txtAddEditRecordDataMxPreference" type="number" class="form-control" placeholder="1" style="width: 100px;">
- </div>
- </div>
- <div class="form-group">
- <label for="txtAddEditRecordDataMxExchange" class="col-sm-4 control-label">Exchange</label>
- <div class="col-sm-7">
- <input id="txtAddEditRecordDataMxExchange" type="text" class="form-control">
- </div>
- </div>
- </div>
- <div id="divAddEditRecordDataSrv" style="display: none;">
- <div class="form-group">
- <label for="txtAddEditRecordDataSrvPriority" class="col-sm-4 control-label">Priority</label>
- <div class="col-sm-7">
- <input type="number" class="form-control" id="txtAddEditRecordDataSrvPriority" style="width: 100px;">
- </div>
- </div>
- <div class="form-group">
- <label for="txtAddEditRecordDataSrvWeight" class="col-sm-4 control-label">Weight</label>
- <div class="col-sm-7">
- <input type="number" class="form-control" id="txtAddEditRecordDataSrvWeight" style="width: 100px;">
- </div>
- </div>
- <div class="form-group">
- <label for="txtAddEditRecordDataSrvPort" class="col-sm-4 control-label">Port</label>
- <div class="col-sm-7">
- <input type="number" class="form-control" id="txtAddEditRecordDataSrvPort" style="width: 100px;">
- </div>
- </div>
- <div class="form-group">
- <label for="txtAddEditRecordDataSrvTarget" class="col-sm-4 control-label">Target</label>
- <div class="col-sm-7">
- <input type="text" class="form-control" id="txtAddEditRecordDataSrvTarget">
- </div>
- </div>
- </div>
- <div id="divAddEditRecordDataDs" style="display: none;">
- <div class="form-group">
- <label for="txtAddEditRecordDataDsKeyTag" class="col-sm-4 control-label">Key Tag</label>
- <div class="col-sm-7">
- <input type="number" class="form-control" id="txtAddEditRecordDataDsKeyTag" placeholder="key tag" style="width: 100px;">
- </div>
- </div>
- <div class="form-group">
- <label for="optAddEditRecordDataDsAlgorithm" class="col-sm-4 control-label">DNSSEC Algorithm</label>
- <div class="col-sm-7">
- <select id="optAddEditRecordDataDsAlgorithm" class="form-control">
- <option>RSAMD5</option>
- <option>RSASHA1</option>
- <option>RSASHA256</option>
- <option>RSASHA512</option>
- <option>ECDSAP256SHA256</option>
- <option>ECDSAP384SHA384</option>
- <option>ED25519</option>
- <option>ED448</option>
- </select>
- </div>
- </div>
- <div class="form-group">
- <label for="optAddEditRecordDataDsDigestType" class="col-sm-4 control-label">Digest Type</label>
- <div class="col-sm-7">
- <select id="optAddEditRecordDataDsDigestType" class="form-control">
- <option>SHA1</option>
- <option>SHA256</option>
- <option>SHA384</option>
- </select>
- </div>
- </div>
- <div class="form-group">
- <label for="txtAddEditRecordDataDsDigest" class="col-sm-4 control-label">Digest</label>
- <div class="col-sm-7">
- <input type="text" class="form-control" id="txtAddEditRecordDataDsDigest" placeholder="hash string">
- </div>
- </div>
- </div>
- <div id="divAddEditRecordDataCaa" style="display: none;">
- <div class="form-group">
- <label for="txtAddEditRecordDataCaaFlags" class="col-sm-4 control-label">Flags</label>
- <div class="col-sm-7">
- <input type="number" class="form-control" id="txtAddEditRecordDataCaaFlags" placeholder="0" style="width: 100px;">
- </div>
- </div>
- <div class="form-group">
- <label for="txtAddEditRecordDataCaaTag" class="col-sm-4 control-label">Tag</label>
- <div class="col-sm-7">
- <input type="text" class="form-control" id="txtAddEditRecordDataCaaTag" placeholder="issue" style="width: 150px;">
- </div>
- </div>
- <div class="form-group">
- <label for="txtAddEditRecordDataCaaValue" class="col-sm-4 control-label">Authority</label>
- <div class="col-sm-7">
- <input type="text" class="form-control" id="txtAddEditRecordDataCaaValue">
- </div>
- </div>
- </div>
- <div id="divAddEditRecordDataForwarder" style="display: none;">
- <div class="form-group">
- <label class="col-sm-4 control-label">Protocol</label>
- <div class="col-sm-7">
- <div class="radio">
- <label>
- <input type="radio" name="rdAddEditRecordDataForwarderProtocol" id="rdAddEditRecordDataForwarderProtocolUdp" value="Udp" checked>
- DNS-over-UDP (default)
- </label>
- </div>
- <div class="radio">
- <label>
- <input type="radio" name="rdAddEditRecordDataForwarderProtocol" id="rdAddEditRecordDataForwarderProtocolTcp" value="Tcp">
- DNS-over-TCP
- </label>
- </div>
- <div class="radio">
- <label>
- <input type="radio" name="rdAddEditRecordDataForwarderProtocol" id="rdAddEditRecordDataForwarderProtocolTls" value="Tls">
- DNS-over-TLS
- </label>
- </div>
- <div class="radio">
- <label>
- <input type="radio" name="rdAddEditRecordDataForwarderProtocol" id="rdAddEditRecordDataForwarderProtocolHttps" value="Https">
- DNS-over-HTTPS
- </label>
- </div>
- <div class="radio">
- <label>
- <input type="radio" name="rdAddEditRecordDataForwarderProtocol" id="rdAddEditRecordDataForwarderProtocolHttpsJson" value="HttpsJson">
- DNS-over-HTTPS (JSON)
- </label>
- </div>
- </div>
- </div>
- <div class="form-group">
- <label for="txtAddEditRecordDataForwarder" class="col-sm-4 control-label">Forwarder</label>
- <div class="col-sm-7">
- <div class="checkbox">
- <label>
- <input id="chkAddEditRecordDataForwarderThisServer" type="checkbox" onclick="updateAddEditFormForwarderThisServer();"> Use "This Server"
- </label>
- </div>
- <div style="padding-top: 5px; padding-left: 20px; padding-bottom: 10px;">
- When using "This Server", if a record does not exists in the zone then the request is forwarded to the DNS server's resolver internally. This allows you to override any record for the forwarded domain name or control its DNSSEC validation.
- </div>
- <input id="txtAddEditRecordDataForwarder" type="text" class="form-control" placeholder="8.8.8.8">
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-4 control-label">DNSSEC</label>
- <div class="col-sm-7">
- <div class="checkbox" style="margin-bottom: 6px;">
- <label>
- <input id="chkAddEditRecordDataForwarderDnssecValidation" type="checkbox"> Enable DNSSEC Validation
- </label>
- </div>
- </div>
- </div>
- <div id="divAddEditRecordDataForwarderProxy">
- <div class="form-group">
- <label class="col-sm-4 control-label">Network Proxy</label>
- <div class="col-sm-7">
- <div class="radio">
- <label>
- <input type="radio" name="rdAddEditRecordDataForwarderProxyType" id="rdAddEditRecordDataForwarderProxyTypeNone" value="None" checked>
- No Proxy (default)
- </label>
- </div>
- <div class="radio">
- <label>
- <input type="radio" name="rdAddEditRecordDataForwarderProxyType" id="rdAddEditRecordDataForwarderProxyTypeHttp" value="Http">
- HTTP Proxy
- </label>
- </div>
- <div class="radio">
- <label>
- <input type="radio" name="rdAddEditRecordDataForwarderProxyType" id="rdAddEditRecordDataForwarderProxyTypeSocks5" value="Socks5">
- SOCKS5 Proxy
- </label>
- </div>
- </div>
- </div>
- <div class="form-group">
- <label for="txtAddEditRecordDataForwarderProxyAddress" class="col-sm-4 control-label">Proxy Server Address</label>
- <div class="col-sm-7">
- <input id="txtAddEditRecordDataForwarderProxyAddress" type="text" class="form-control" placeholder="domain name or IP address">
- </div>
- </div>
- <div class="form-group">
- <label for="txtAddEditRecordDataForwarderProxyPort" class="col-sm-4 control-label">Proxy Server Port</label>
- <div class="col-sm-7">
- <input id="txtAddEditRecordDataForwarderProxyPort" type="number" class="form-control" placeholder="port" style="width: 100px;">
- </div>
- </div>
- <div class="form-group">
- <label for="txtAddEditRecordDataForwarderProxyUsername" class="col-sm-4 control-label">Proxy Server Username</label>
- <div class="col-sm-7">
- <input id="txtAddEditRecordDataForwarderProxyUsername" type="text" class="form-control" placeholder="username">
- </div>
- </div>
- <div class="form-group">
- <label for="txtAddEditRecordDataForwarderProxyPassword" class="col-sm-4 control-label">Proxy Server Password</label>
- <div class="col-sm-7">
- <input id="txtAddEditRecordDataForwarderProxyPassword" type="password" class="form-control" placeholder="password">
- </div>
- </div>
- </div>
- </div>
- <div id="divAddEditRecordDataApplication" style="display: none;">
- <div class="form-group">
- <label for="optAddEditRecordDataAppName" class="col-sm-4 control-label">App Name</label>
- <div class="col-sm-7">
- <select id="optAddEditRecordDataAppName" class="form-control"></select>
- </div>
- </div>
- <div class="form-group">
- <label for="optAddEditRecordDataClassPath" class="col-sm-4 control-label">Class Path</label>
- <div class="col-sm-7">
- <select id="optAddEditRecordDataClassPath" class="form-control"></select>
- </div>
- </div>
- <div class="form-group">
- <label for="txtAddEditRecordDataData" class="col-sm-4 control-label">Record Data (if any)</label>
- <div class="col-sm-7">
- <textarea id="txtAddEditRecordDataData" class="form-control" rows="6" spellcheck="false"></textarea>
- </div>
- </div>
- </div>
- <div id="divAddEditRecordOverwrite" class="form-group">
- <div class="col-sm-offset-4 col-sm-7">
- <div class="checkbox">
- <label>
- <input id="chkAddEditRecordOverwrite" type="checkbox"> Overwrite existing records
- </label>
- </div>
- </div>
- </div>
- <div class="form-group">
- <label for="txtAddEditRecordComments" class="col-sm-4 control-label">Comments</label>
- <div class="col-sm-7">
- <textarea id="txtAddEditRecordComments" class="form-control" rows="3" maxlength="255"></textarea>
- </div>
- </div>
- </div>
- </div>
- <div class="modal-footer">
- <button type="submit" class="btn btn-primary" id="btnAddEditRecord" data-loading-text="Saving...">Save</button>
- <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
- </div>
- </div>
- </div>
- </form>
- </div>
- <div id="modalZoneOptions" class="modal fade" tabindex="-1" role="dialog">
- <div class="modal-dialog" role="document" style="width: 780px;">
- <div class="modal-content">
- <div class="modal-header">
- <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
- <h4 class="modal-title">Zone Options - <span id="lblZoneOptionsZoneName"></span></h4>
- </div>
- <div class="modal-body">
- <div id="divZoneOptionsAlert"></div>
- <div id="divZoneOptionsLoader" style="height: 500px;"></div>
- <div id="divZoneOptions" style="max-height: 500px; overflow-y: auto; padding: 0 6px; overflow-x: hidden;">
- <div class="well well-sm form-horizontal">
- <div class="form-group">
- <label class="col-sm-3 control-label">Zone Transfer</label>
- <div class="col-sm-8">
- <div class="radio">
- <label>
- <input type="radio" name="rdZoneTransfer" id="rdZoneTransferDeny" value="Deny">
- Deny
- </label>
- <div style="padding-top: 5px; padding-left: 20px;">Denies everyone from performing a zone transfer.</div>
- </div>
- <div class="radio">
- <label>
- <input type="radio" name="rdZoneTransfer" id="rdZoneTransferAllow" value="Allow">
- Allow
- </label>
- <div style="padding-top: 5px; padding-left: 20px;">Allows everyone to perform a zone transfer.</div>
- </div>
- <div class="radio">
- <label>
- <input type="radio" name="rdZoneTransfer" id="rdZoneTransferAllowOnlyZoneNameServers" value="AllowOnlyZoneNameServers">
- Allow Only Name Servers In Zone (default)
- </label>
- <div style="padding-top: 5px; padding-left: 20px;">Allows only the name servers with an NS record in the zone to perform a zone transfer.</div>
- </div>
- <div class="radio">
- <label>
- <input type="radio" name="rdZoneTransfer" id="rdZoneTransferAllowOnlySpecifiedNameServers" value="AllowOnlySpecifiedNameServers">
- Allow Only Specified Name Servers
- </label>
- <div style="padding-top: 5px; padding-left: 20px;">Allows only the name servers with an IP address specified below to perform a zone transfer.</div>
- </div>
- </div>
- <div class="col-sm-offset-3 col-sm-6">
- <label for="txtZoneTransferNameServers" class="control-label">Allowed Name Servers (IP addresses)</label>
- <textarea id="txtZoneTransferNameServers" class="form-control" rows="5" spellcheck="false"></textarea>
- </div>
- </div>
- <div>Note! Zone transfer should be allowed only for trusted name servers to sync their secondary zone. Zone transfer from localhost (127.0.0.1 or ::1) is always allowed.</div>
- </div>
- <div class="well well-sm form-horizontal">
- <div class="form-group">
- <label class="col-sm-3 control-label">Notify</label>
- <div class="col-sm-8">
- <div class="radio">
- <label>
- <input type="radio" name="rdZoneNotify" id="rdZoneNotifyNone" value="None">
- None
- </label>
- <div style="padding-top: 5px; padding-left: 20px;">Does not notify any name server when the zone is updated.</div>
- </div>
- <div class="radio">
- <label>
- <input type="radio" name="rdZoneNotify" id="rdZoneNotifyZoneNameServers" value="ZoneNameServers">
- Name Servers In Zone (default)
- </label>
- <div style="padding-top: 5px; padding-left: 20px;">Notifies only the name servers with an NS record in the zone when the zone is updated.</div>
- </div>
- <div class="radio">
- <label>
- <input type="radio" name="rdZoneNotify" id="rdZoneNotifySpecifiedNameServers" value="SpecifiedNameServers">
- Specified Name Servers
- </label>
- <div style="padding-top: 5px; padding-left: 20px;">Notifies only the name servers with an IP address specified below when the zone is updated.</div>
- </div>
- </div>
- <div class="col-sm-offset-3 col-sm-6">
- <label for="txtZoneNotifyNameServers" class="control-label">Notified Name Servers (IP addresses)</label>
- <textarea id="txtZoneNotifyNameServers" class="form-control" rows="5" spellcheck="false"></textarea>
- </div>
- </div>
- <div>Note! Notification must be enabled to allow other name servers to trigger a zone transfer immediately when the zone is updated.</div>
- </div>
- <div class="well well-sm form-horizontal">
- <div class="form-group">
- <label for="txtZoneOptionsZoneTransferTsigKeyNames" class="col-sm-3 control-label">Zone Transfer TSIG Key Names</label>
- <div class="col-sm-6">
- <textarea id="txtZoneOptionsZoneTransferTsigKeyNames" class="form-control" rows="3" spellcheck="false"></textarea>
- <label for="optZoneOptionsQuickTsigKeyNames" class="control-label">Quick Add</label>
- <select id="optZoneOptionsQuickTsigKeyNames" class="form-control">
- </select>
- </div>
- </div>
- <div>Note! TSIG key names must be configured from the Settings before using them here. Entering one or more TSIG key names above will cause the DNS server to authenticate all zone transfer requests. A secondary zone must be configured with one of the above keys to be able to perform a zone transfer.</div>
- </div>
- </div>
- </div>
- <div class="modal-footer">
- <button id="btnSaveZoneOptions" type="submit" class="btn btn-primary" data-loading-text="Saving..." onclick="saveZoneOptions(); return false;">Save</button>
- <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
- </div>
- </div>
- </div>
- </div>
- <div id="modalDnssecSignZone" class="modal fade" tabindex="-1" role="dialog">
- <div class="modal-dialog" role="document" style="width: 780px;">
- <div class="modal-content">
- <div class="modal-header">
- <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
- <h4 class="modal-title">Sign Zone - <span id="lblDnssecSignZoneZoneName"></span></h4>
- </div>
- <div class="modal-body">
- <div id="divDnssecSignZoneAlert"></div>
- <div class="form-horizontal" style="max-height: 500px; overflow-y: auto; padding: 0 6px; overflow-x: hidden;">
- <div class="form-group">
- <label class="col-sm-4 control-label">DNSKEY Algorithm</label>
- <div class="col-sm-8">
- <div class="radio">
- <label>
- <input type="radio" name="rdDnssecSignZoneAlgorithm" id="rdDnssecSignZoneAlgorithmRsa" value="RSA">
- RSA
- </label>
- </div>
- <div class="radio">
- <label>
- <input type="radio" name="rdDnssecSignZoneAlgorithm" id="rdDnssecSignZoneAlgorithmEcdsa" value="ECDSA">
- ECDSA (Recommended)
- </label>
- </div>
- </div>
- </div>
- <div id="divDnssecSignZoneRsaParameters">
- <div class="form-group">
- <label for="optDnssecSignZoneRsaHashAlgorithm" class="col-sm-4 control-label">Hash Algorithm</label>
- <div class="col-sm-8">
- <select id="optDnssecSignZoneRsaHashAlgorithm" class="form-control" style="width: auto;">
- <option value="MD5">MD5 (obsolete)</option>
- <option>SHA1</option>
- <option value="SHA256">SHA256 (default)</option>
- <option>SHA512</option>
- </select>
- </div>
- </div>
- <div class="form-group">
- <label for="optDnssecSignZoneRsaKSKKeySize" class="col-sm-4 control-label">Key Signing Key (KSK) Size</label>
- <div class="col-sm-8">
- <select id="optDnssecSignZoneRsaKSKKeySize" class="form-control" style="width: auto;">
- <option>1024</option>
- <option>1536</option>
- <option value="2048">2048 (recommended)</option>
- <option>3072</option>
- <option>4096</option>
- </select>
- </div>
- </div>
- <div class="form-group">
- <label for="optDnssecSignZoneRsaZSKKeySize" class="col-sm-4 control-label">Zone Signing Key (ZSK) Size</label>
- <div class="col-sm-8">
- <select id="optDnssecSignZoneRsaZSKKeySize" class="form-control" style="width: auto;">
- <option value="1024">1024 (default)</option>
- <option>1536</option>
- <option>2048</option>
- <option>3072</option>
- <option>4096</option>
- </select>
- </div>
- </div>
- </div>
- <div id="divDnssecSignZoneEcdsaParameters">
- <div class="form-group">
- <label for="optDnssecSignZoneEcdsaCurve" class="col-sm-4 control-label">ECDSA Curve</label>
- <div class="col-sm-8">
- <select id="optDnssecSignZoneEcdsaCurve" class="form-control" style="width: auto;">
- <option value="P256">P256 (default)</option>
- <option>P384</option>
- </select>
- </div>
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-4 control-label">Proof of Non-Existence</label>
- <div class="col-sm-8">
- <div class="radio">
- <label>
- <input type="radio" name="rdDnssecSignZoneNxProof" id="rdDnssecSignZoneNxProofNSEC" value="NSEC">
- Next Secure (NSEC) (recommended)
- </label>
- <div style="padding-top: 5px; padding-left: 20px;">
- With NSEC, all the records in your zone can be discovered by anyone using "zone walking" technique. NSEC is recommended if your zone does not contain any private/internal records.
- </div>
- </div>
- <div class="radio">
- <label>
- <input type="radio" name="rdDnssecSignZoneNxProof" id="rdDnssecSignZoneNxProofNSEC3" value="NSEC3">
- Next Secure 3 (NSEC3)
- </label>
- <div style="padding-top: 5px; padding-left: 20px;">
- NSEC3, makes it difficult to perform "zone walking" since it uses hashing with a random salt. NSEC3 should be used if your zone contains any private/internal records that you do not wish to be enumerable.
- </div>
- </div>
- </div>
- </div>
- <div id="divDnssecSignZoneNSEC3Parameters">
- <div class="form-group">
- <label for="txtDnssecSignZoneNSEC3Iterations" class="col-sm-4 control-label">NSEC3 Iterations</label>
- <div class="col-sm-8">
- <input id="txtDnssecSignZoneNSEC3Iterations" type="number" class="form-control" placeholder="iterations" style="width: 100px; display: inline;">
- <span>(valid range 0-50, recommended 0)</span>
- </div>
- <div class="col-sm-offset-4 col-sm-8" style="padding-top: 5px;">
- The number of iterations used by NSEC3 for hashing the domain names. It is recommended to use 0 iterations since more iterations will increase computational costs for both the DNS server and resolver while not providing much value against "zone walking" [<a href="https://datatracker.ietf.org/doc/html/draft-ietf-dnsop-nsec3-guidance-03#section-2.3" target="_blank">draft-ietf-dnsop-nsec3-guidance</a>].
- </div>
- </div>
- <div class="form-group">
- <label for="txtDnssecSignZoneNSEC3SaltLength" class="col-sm-4 control-label">NSEC3 Salt Length</label>
- <div class="col-sm-8">
- <input id="txtDnssecSignZoneNSEC3SaltLength" type="number" class="form-control" placeholder="length" style="width: 100px; display: inline;">
- <span>(valid range 0-32, recommended 0)</span>
- </div>
- <div class="col-sm-offset-4 col-sm-8" style="padding-top: 5px;">
- The number of bytes of random salt to generate to be used with the NSEC3 hash computation. It is recommended to not use salt by setting the length to 0 [<a href="https://datatracker.ietf.org/doc/html/draft-ietf-dnsop-nsec3-guidance-03#section-2.4" target="_blank">draft-ietf-dnsop-nsec3-guidance</a>].
- </div>
- </div>
- </div>
- <div class="form-group">
- <label for="txtDnssecSignZoneDnsKeyTtl" class="col-sm-4 control-label">DNSKEY TTL</label>
- <div class="col-sm-8">
- <input id="txtDnssecSignZoneDnsKeyTtl" type="number" class="form-control" placeholder="ttl" style="width: 100px; display: inline;">
- <span>(default 86400)</span>
- </div>
- <div class="col-sm-offset-4 col-sm-8" style="padding-top: 5px;">
- The TTL value to be used for DNSKEY records. A lower value will allow quicker addition or rollover to a new DNS Key at the cost of increased frequency of DNSKEY queries by resolvers.
- </div>
- </div>
- <div class="form-group">
- <label for="txtDnssecSignZoneZskAutoRollover" class="col-sm-4 control-label">ZSK Automatic Rollover</label>
- <div class="col-sm-8">
- <input id="txtDnssecSignZoneZskAutoRollover" type="number" class="form-control" placeholder="days" style="width: 100px; display: inline;">
- <span>days (valid range 0-365; default 90; set 0 to disable)</span>
- </div>
- <div class="col-sm-offset-4 col-sm-8" style="padding-top: 5px;">
- The frequency at which the DNS server must automatically rollover all Zone Signing Key (ZSK) keys.
- </div>
- </div>
- </div>
- </div>
- <div class="modal-footer">
- <button id="btnDnssecSignZone" type="submit" class="btn btn-primary" data-loading-text="Signing..." onclick="signPrimaryZone(); return false;">Sign Zone</button>
- <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
- </div>
- </div>
- </div>
- </div>
- <div id="modalDnssecUnsignZone" class="modal fade" tabindex="-1" role="dialog">
- <div class="modal-dialog" role="document">
- <div class="modal-content">
- <div class="modal-header">
- <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
- <h4 class="modal-title">Unsign Zone - <span id="lblDnssecUnsignZoneZoneName"></span></h4>
- </div>
- <div class="modal-body">
- <div id="divDnssecUnsignZoneAlert"></div>
- <p><b>WARNING!</b> Unsigning the zone without removing all DS records from its parent zone will cause DNSSEC validating recursive resolvers to mark the zone as <b>bogus</b> and fail to resolve it.</p>
- <p><b>WARNING!</b> Make sure that you have removed all of the DS records from the parent zone and sufficient time has passed before unsigning this zone. You MUST wait for at least the number of seconds specified by the DS record's TTL value to elapse before unsigning the zone to ensure that all recursive resolvers would have expired the DS records from its cache. For example, if you have DS records at the parent zone with TTL value set to 86400 seconds then you must wait for 86400 seconds (24 hours) to pass after you delete the DS records from the parent zone. Once you have ensured that you have waited for the appropriate time then you can unsign the zone safely.</p>
- <p><b>NOTE!</b> You can find out the TTL value of DS records for your zone by querying for DS records using the DNS Client tab.</p>
- <p><b>WARNING!</b> Unsigning the zone will permanently delete all of the private keys associated with it. Consider taking a backup before proceeding.</p>
- <p> </p>
- <p>Are you sure you want to proceed to unsign the zone now?</p>
- </div>
- <div class="modal-footer">
- <button id="btnDnssecUnsignZone" type="submit" class="btn btn-danger" data-loading-text="Unsigning..." onclick="unsignPrimaryZone(); return false;">Unsign Zone</button>
- <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
- </div>
- </div>
- </div>
- </div>
- <div id="modalDnssecProperties" class="modal fade" tabindex="-1" role="dialog">
- <div class="modal-dialog" role="document" style="width: 940px;">
- <div class="modal-content">
- <div class="modal-header">
- <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
- <h4 class="modal-title">DNSSEC Properties - <span id="lblDnssecPropertiesZoneName"></span></h4>
- </div>
- <div class="modal-body">
- <div id="divDnssecPropertiesAlert"></div>
- <div id="divDnssecPropertiesLoader" style="height: 500px;"></div>
- <div id="divDnssecProperties" style="max-height: 500px; overflow-y: auto; padding: 0 6px; overflow-x: hidden;">
- <div class="well well-sm form-horizontal">
- <table class="table table-hover" style="margin-bottom: 10px;">
- <thead>
- <tr>
- <th onclick="sortTable('tableDnssecPropertiesPrivateKeysBody', 0);">Key Tag</th>
- <th onclick="sortTable('tableDnssecPropertiesPrivateKeysBody', 1);">Key Type</th>
- <th onclick="sortTable('tableDnssecPropertiesPrivateKeysBody', 2);">Algorithm</th>
- <th onclick="sortTable('tableDnssecPropertiesPrivateKeysBody', 3);">State</th>
- <th onclick="sortTable('tableDnssecPropertiesPrivateKeysBody', 4);">State Changed</th>
- <th style="width: 108px;" onclick="sortTable('tableDnssecPropertiesPrivateKeysBody', 5);">Rollover</th>
- <th style="width: 150px;"></th>
- </tr>
- </thead>
- <tbody id="tableDnssecPropertiesPrivateKeysBody">
- </tbody>
- </table>
- <div>
- <button type="button" class="btn btn-primary" style="padding: 2px 0; width: 120px;" data-toggle="collapse" data-target="#divDnssecPropertiesGenerateKey" aria-expanded="false" aria-controls="divDnssecPropertiesGenerateKey">Add Private Key</button>
- <button type="button" class="btn btn-warning" style="padding: 2px 0; width: 120px;" data-loading-text="Publishing..." onclick="publishAllDnssecPrivateKeys(this);">Publish All Keys</button>
- </div>
- <div id="divDnssecPropertiesGenerateKey" class="collapse">
- <div class="panel panel-default" style="margin-bottom: 0px; margin-top: 10px; padding-top: 15px;">
- <div class="form-group">
- <label for="optDnssecPropertiesGenerateKeyKeyType" class="col-sm-4 control-label">Key Type</label>
- <div class="col-sm-8">
- <select id="optDnssecPropertiesGenerateKeyKeyType" class="form-control" style="width: auto;">
- <option value="KeySigningKey">Key Signing Key (KSK)</option>
- <option value="ZoneSigningKey">Zone Signing Key (ZSK)</option>
- </select>
- </div>
- </div>
- <div class="form-group">
- <label for="optDnssecPropertiesGenerateKeyAlgorithm" class="col-sm-4 control-label">Algorithm</label>
- <div class="col-sm-8">
- <select id="optDnssecPropertiesGenerateKeyAlgorithm" class="form-control" style="width: auto;">
- <option>RSA</option>
- <option value="ECDSA">ECDSA (recommended)</option>
- </select>
- </div>
- </div>
- <div id="divDnssecPropertiesGenerateKeyRsaParameters">
- <div class="form-group">
- <label for="optDnssecPropertiesGenerateKeyRsaHashAlgorithm" class="col-sm-4 control-label">Hash Algorithm</label>
- <div class="col-sm-8">
- <select id="optDnssecPropertiesGenerateKeyRsaHashAlgorithm" class="form-control" style="width: auto;">
- <option value="MD5">MD5 (obsolete)</option>
- <option>SHA1</option>
- <option value="SHA256">SHA256 (default)</option>
- <option>SHA512</option>
- </select>
- </div>
- </div>
- <div class="form-group">
- <label for="optDnssecPropertiesGenerateKeyRsaKeySize" class="col-sm-4 control-label">Key Size</label>
- <div class="col-sm-8">
- <select id="optDnssecPropertiesGenerateKeyRsaKeySize" class="form-control" style="width: auto;">
- <option>1024</option>
- <option>1536</option>
- <option>2048</option>
- <option>3072</option>
- <option>4096</option>
- </select>
- </div>
- </div>
- </div>
- <div id="divDnssecPropertiesGenerateKeyEcdsaParameters">
- <div class="form-group">
- <label for="optDnssecPropertiesGenerateKeyEcdsaCurve" class="col-sm-4 control-label">ECDSA Curve</label>
- <div class="col-sm-8">
- <select id="optDnssecPropertiesGenerateKeyEcdsaCurve" class="form-control" style="width: auto;">
- <option value="P256">P256 (default)</option>
- <option>P384</option>
- </select>
- </div>
- </div>
- </div>
- <div id="divDnssecPropertiesGenerateKeyAutomaticRollover" class="form-group">
- <label for="txtDnssecPropertiesGenerateKeyAutomaticRollover" class="col-sm-4 control-label">Automatic Key Rollover</label>
- <div class="col-sm-8">
- <div>
- <input id="txtDnssecPropertiesGenerateKeyAutomaticRollover" type="number" class="form-control" placeholder="days" style="width: 100px; display: inline;">
- <span>days (valid range 0-365; default 90; set 0 to disable)</span>
- </div>
- </div>
- <div class="col-sm-offset-4 col-sm-8" style="margin-top: 10px;">
- The frequency at which the DNS server must automatically rollover the key.
- </div>
- </div>
- <div class="form-group">
- <div class="col-sm-offset-4 col-sm-8">
- <button type="button" class="btn btn-primary" style="padding: 2px 0; width: 150px;" data-loading-text="Generating..." onclick="generateAndAddDnssecPrivateKey(this);">Generate & Add Key</button>
- </div>
- </div>
- </div>
- </div>
- </div>
- <div class="well well-sm form-horizontal">
- <div class="form-group">
- <label class="col-sm-4 control-label">Proof of Non-Existence</label>
- <div class="col-sm-8">
- <div class="radio">
- <label>
- <input type="radio" name="rdDnssecPropertiesNxProof" id="rdDnssecPropertiesNxProofNSEC" value="NSEC">
- Next Secure (NSEC) (recommended)
- </label>
- <div style="padding-top: 5px; padding-left: 20px;">
- With NSEC, all the records in your zone can be discovered by anyone using "zone walking" technique. NSEC is recommended if your zone does not contain any private/internal records.
- </div>
- </div>
- <div class="radio">
- <label>
- <input type="radio" name="rdDnssecPropertiesNxProof" id="rdDnssecPropertiesNxProofNSEC3" value="NSEC3">
- Next Secure 3 (NSEC3)
- </label>
- <div style="padding-top: 5px; padding-left: 20px;">
- NSEC3, makes it difficult to perform "zone walking" since it uses hashing with a random salt. NSEC3 should be used if your zone contains any private/internal records that you do not wish to be enumerable.
- </div>
- </div>
- </div>
- </div>
- <div id="divDnssecPropertiesNSEC3Parameters">
- <div class="form-group">
- <label for="txtDnssecPropertiesNSEC3Iterations" class="col-sm-4 control-label">NSEC3 Iterations</label>
- <div class="col-sm-8">
- <input id="txtDnssecPropertiesNSEC3Iterations" type="number" class="form-control" placeholder="iterations" style="width: 100px; display: inline;">
- <span>(valid range 0-50, recommended 0)</span>
- </div>
- <div class="col-sm-offset-4 col-sm-8" style="padding-top: 5px;">
- The number of iterations used by NSEC3 for hashing the domain names. It is recommended to use 0 iterations since more iterations will increase computational costs for both the DNS server and resolver while not providing much value against "zone walking" [<a href="https://datatracker.ietf.org/doc/html/draft-ietf-dnsop-nsec3-guidance-03#section-2.3" target="_blank">draft-ietf-dnsop-nsec3-guidance</a>].
- </div>
- </div>
- <div class="form-group">
- <label for="txtDnssecPropertiesNSEC3SaltLength" class="col-sm-4 control-label">NSEC3 Salt Length</label>
- <div class="col-sm-8">
- <input id="txtDnssecPropertiesNSEC3SaltLength" type="number" class="form-control" placeholder="length" style="width: 100px; display: inline;">
- <span>(valid range 0-32, recommended 0)</span>
- </div>
- <div class="col-sm-offset-4 col-sm-8" style="padding-top: 5px;">
- The number of bytes of random salt to generate to be used with the NSEC3 hash computation. It is recommended to not use salt by setting the length to 0 [<a href="https://datatracker.ietf.org/doc/html/draft-ietf-dnsop-nsec3-guidance-03#section-2.4" target="_blank">draft-ietf-dnsop-nsec3-guidance</a>].
- </div>
- </div>
- </div>
- <div class="form-group" style="margin-bottom: 5px;">
- <div class="col-sm-offset-4 col-sm-8">
- <button id="btnDnssecPropertiesChangeNxProof" type="button" class="btn btn-warning" style="padding: 2px 0; width: 100px;" data-loading-text="Changing..." onclick="changeDnssecNxProof(this);">Change</button>
- </div>
- </div>
- </div>
- <div class="well well-sm form-horizontal">
- <div class="form-group" style="margin-bottom: 5px;">
- <label for="txtDnssecPropertiesDnsKeyTtl" class="col-sm-4 control-label">DNSKEY TTL</label>
- <div class="col-sm-8">
- <div>
- <input id="txtDnssecPropertiesDnsKeyTtl" type="number" class="form-control" placeholder="ttl" style="width: 100px; display: inline;">
- <span>(default 86400)</span>
- </div>
- <div style="margin-top: 10px;">
- <button type="button" class="btn btn-default" style="padding: 2px 0; width: 100px;" data-loading-text="Updating..." onclick="updateDnssecDnsKeyTtl(this);">Update TTL</button>
- </div>
- </div>
- <div class="col-sm-offset-4 col-sm-8" style="margin-top: 10px;">
- The TTL value to be used for DNSKEY records. A lower value will allow quicker addition or rollover to a new DNS Key at the cost of increased frequency of DNSKEY queries by resolvers.
- </div>
- </div>
- <div style="margin-top: 10px;">
- Warning! You MUST wait for at least the number of seconds specified by the the old TTL value to elapse before making any changes to the DNS keys above to ensure that all recursive resolvers would have expired the DNSKEY records from its cache. For example, if the old TTL value was 86400 seconds, then you must wait for 86400 seconds (24 hours) to pass before making any changes to the DNS keys.
- </div>
- </div>
- </div>
- </div>
- <div class="modal-footer">
- <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
- </div>
- </div>
- </div>
- </div>
- <div id="modalImportAllowedZones" class="modal fade" tabindex="-1" role="dialog">
- <div class="modal-dialog" role="document">
- <div class="modal-content">
- <div class="modal-header">
- <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
- <h4 class="modal-title">Import Allowed Zones</h4>
- </div>
- <div class="modal-body">
- <div id="divImportAllowedZonesAlert"></div>
- <p>Enter domain names one below other to import into Allowed Zone:</p>
- <div class="form-group">
- <label for="txtImportAllowedZones" class="control-label">Allowed Zones</label>
- <textarea id="txtImportAllowedZones" class="form-control" rows="15" spellcheck="false"></textarea>
- </div>
- </div>
- <div class="modal-footer">
- <button id="btnImportAllowedZones" type="submit" class="btn btn-primary" data-loading-text="Importing..." onclick="importAllowedZones(); return false;">Import</button>
- <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
- </div>
- </div>
- </div>
- </div>
- <div id="modalImportBlockedZones" class="modal fade" tabindex="-1" role="dialog">
- <div class="modal-dialog" role="document">
- <div class="modal-content">
- <div class="modal-header">
- <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
- <h4 class="modal-title">Import Blocked Zones</h4>
- </div>
- <div class="modal-body">
- <div id="divImportBlockedZonesAlert"></div>
- <p>Enter domain names one below other to import into blocked zone:</p>
- <div class="form-group">
- <label for="txtImportBlockedZones" class="control-label">Blocked Zones</label>
- <textarea id="txtImportBlockedZones" class="form-control" rows="15" spellcheck="false"></textarea>
- </div>
- </div>
- <div class="modal-footer">
- <button id="btnImportBlockedZones" type="submit" class="btn btn-primary" data-loading-text="Importing..." onclick="importBlockedZones(); return false;">Import</button>
- <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
- </div>
- </div>
- </div>
- </div>
- <div id="modalStoreApps" class="modal fade" tabindex="-1" role="dialog">
- <form class="form-horizontal">
- <div class="modal-dialog" role="document" style="width: 800px;">
- <div class="modal-content">
- <div class="modal-header">
- <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
- <h4 class="modal-title">DNS App Store</h4>
- </div>
- <div class="modal-body">
- <div id="divStoreAppsAlert"></div>
- <div id="divStoreAppsLoader" style="height: 500px;"></div>
- <div id="divStoreApps" style="max-height: 500px; overflow-y: auto; display: none;">
- <table class="table table-hover">
- <thead>
- <tr>
- <th style="min-width: 120px;" onclick="sortTable('tableStoreAppsBody', 0);">Store Apps</th>
- <th style="width: 96px;"></th>
- </tr>
- </thead>
- <tbody id="tableStoreAppsBody">
- </tbody>
- <tfoot id="tableStoreAppsFooter">
- <tr><td colspan="3"><b>Total Apps: 0</b></td></tr>
- </tfoot>
- </table>
- </div>
- </div>
- <div class="modal-footer">
- <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
- </div>
- </div>
- </div>
- </form>
- </div>
- <div id="modalInstallApp" class="modal fade" tabindex="-1" role="dialog">
- <form class="form-horizontal">
- <div class="modal-dialog" role="document">
- <div class="modal-content">
- <div class="modal-header">
- <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
- <h4 class="modal-title">Install App</h4>
- </div>
- <div class="modal-body">
- <div id="divInstallAppAlert"></div>
- <div class="form-group">
- <label for="txtInstallApp" class="col-sm-4 control-label">App Name</label>
- <div class="col-sm-7">
- <input id="txtInstallApp" type="text" class="form-control">
- </div>
- </div>
- <div class="form-group">
- <label for="fileAppZip" class="col-sm-4 control-label">App Zip File</label>
- <div class="col-sm-7">
- <input type="file" class="form-control" id="fileAppZip">
- </div>
- </div>
- </div>
- <div class="modal-footer">
- <button id="btnInstallApp" type="submit" class="btn btn-primary" data-loading-text="Installing..." onclick="installApp(); return false;">Install</button>
- <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
- </div>
- </div>
- </div>
- </form>
- </div>
- <div id="modalUpdateApp" class="modal fade" tabindex="-1" role="dialog">
- <form class="form-horizontal">
- <div class="modal-dialog" role="document">
- <div class="modal-content">
- <div class="modal-header">
- <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
- <h4 class="modal-title">Update App</h4>
- </div>
- <div class="modal-body">
- <div id="divUpdateAppAlert"></div>
- <div class="form-group">
- <label for="txtUpdateApp" class="col-sm-4 control-label">App Name</label>
- <div class="col-sm-7">
- <input id="txtUpdateApp" type="text" class="form-control" disabled>
- </div>
- </div>
- <div class="form-group">
- <label for="fileUpdateAppZip" class="col-sm-4 control-label">App Zip File</label>
- <div class="col-sm-7">
- <input type="file" class="form-control" id="fileUpdateAppZip">
- </div>
- </div>
- </div>
- <div class="modal-footer">
- <button id="btnUpdateApp" type="submit" class="btn btn-primary" data-loading-text="Updating..." onclick="updateApp(); return false;">Update</button>
- <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
- </div>
- </div>
- </div>
- </form>
- </div>
- <div id="modalAppConfig" class="modal fade" tabindex="-1" role="dialog">
- <div class="modal-dialog" role="document" style="width: 780px;">
- <div class="modal-content">
- <div class="modal-header">
- <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
- <h4 class="modal-title">App Config</h4>
- </div>
- <div class="modal-body">
- <div id="divAppConfigAlert"></div>
- <p>Edit the <code>dnsApp.config</code> config file below as required by the DNS application: <span id="lblAppConfigName" style="font-weight: bold;"></span></p>
- <div class="form-group">
- <label for="txtAppConfig" class="control-label">Config File</label>
- <textarea id="txtAppConfig" class="form-control" rows="15" spellcheck="false"></textarea>
- </div>
- <p>Note: The app will reload the config automatically after you save it.</p>
- </div>
- <div class="modal-footer">
- <button id="btnAppConfig" type="submit" class="btn btn-primary" data-loading-text="Saving..." onclick="saveAppConfig(); return false;">Save</button>
- <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
- </div>
- </div>
- </div>
- </div>
- <div id="modalBackupSettings" class="modal fade" tabindex="-1" role="dialog">
- <div class="modal-dialog" role="document">
- <div class="modal-content">
- <div class="modal-header">
- <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
- <h4 class="modal-title">Backup Settings</h4>
- </div>
- <div class="modal-body">
- <div id="divBackupSettingsAlert"></div>
- <p>The backup process will create a zip file for the items selected below:</p>
- <div class="form-horizontal">
- <div class="form-group">
- <div style="padding-left: 40px;">
- <div class="checkbox">
- <label>
- <input id="chkBackupDnsSettings" type="checkbox" checked> DNS Settings File (dns.config)
- </label>
- </div>
- <div class="checkbox">
- <label>
- <input id="chkBackupLogSettings" type="checkbox" checked> Log Settings File (log.config)
- </label>
- </div>
- <div class="checkbox">
- <label>
- <input id="chkBackupZones" type="checkbox" checked> DNS Zone Files (*.zone)
- </label>
- </div>
- <div class="checkbox">
- <label>
- <input id="chkBackupAllowedZones" type="checkbox" checked> Allowed Zones File (allowed.config)
- </label>
- </div>
- <div class="checkbox">
- <label>
- <input id="chkBackupBlockedZones" type="checkbox" checked> Blocked Zones File (blocked.config)
- </label>
- </div>
- <div class="checkbox">
- <label>
- <input id="chkBackupScopes" type="checkbox" checked> DHCP Scope Files (*.scope)
- </label>
- </div>
- <div class="checkbox">
- <label>
- <input id="chkBackupApps" type="checkbox" checked> DNS Apps
- </label>
- </div>
- <div class="checkbox">
- <label>
- <input id="chkBackupStats" type="checkbox" checked> Dashboard Stats Files (*.stat, *.dstat)
- </label>
- </div>
- <div class="checkbox">
- <label>
- <input id="chkBackupLogs" type="checkbox"> Log Files (*.log)
- </label>
- </div>
- <div class="checkbox">
- <label>
- <input id="chkBackupBlockLists" type="checkbox" checked> Block List Cache Files
- </label>
- </div>
- </div>
- </div>
- </div>
- <p>Note! It may take several minutes to generate the backup zip file if log files are selected to be backed up which will depend on the size of the log files on the disk.</p>
- </div>
- <div class="modal-footer">
- <button type="submit" class="btn btn-primary" data-loading-text="Backup" onclick="backupSettings(); return false;">Backup</button>
- <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
- </div>
- </div>
- </div>
- </div>
- <div id="modalRestoreSettings" class="modal fade" tabindex="-1" role="dialog">
- <div class="modal-dialog" role="document">
- <div class="modal-content">
- <div class="modal-header">
- <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
- <h4 class="modal-title">Restore Settings</h4>
- </div>
- <div class="modal-body">
- <div id="divRestoreSettingsAlert"></div>
- <div class="form-horizontal">
- <div class="form-group">
- <label for="fileBackupZip" class="col-sm-3 control-label">Backup Zip File</label>
- <div class="col-sm-6">
- <input type="file" class="form-control" id="fileBackupZip">
- </div>
- </div>
- <p>The restore process will restore all the selected items from the backup zip file:</p>
- <div class="form-group">
- <div style="padding-left: 40px;">
- <div class="checkbox">
- <label>
- <input id="chkRestoreDnsSettings" type="checkbox" checked> DNS Settings File (dns.config)
- </label>
- </div>
- <div class="checkbox">
- <label>
- <input id="chkRestoreLogSettings" type="checkbox" checked> Log Settings File (log.config)
- </label>
- </div>
- <div class="checkbox">
- <label>
- <input id="chkRestoreZones" type="checkbox" checked> DNS Zone Files (*.zone)
- </label>
- </div>
- <div class="checkbox">
- <label>
- <input id="chkRestoreAllowedZones" type="checkbox" checked> Allowed Zones File (allowed.config)
- </label>
- </div>
- <div class="checkbox">
- <label>
- <input id="chkRestoreBlockedZones" type="checkbox" checked> Blocked Zones File (blocked.config)
- </label>
- </div>
- <div class="checkbox">
- <label>
- <input id="chkRestoreScopes" type="checkbox" checked> DHCP Scope Files (*.scope)
- </label>
- </div>
- <div class="checkbox">
- <label>
- <input id="chkRestoreApps" type="checkbox" checked> DNS Apps
- </label>
- </div>
- <div class="checkbox">
- <label>
- <input id="chkRestoreStats" type="checkbox" checked> Dashboard Stats Files (*.stat, *.dstat)
- </label>
- </div>
- <div class="checkbox">
- <label>
- <input id="chkRestoreLogs" type="checkbox"> Log Files (*.log)
- </label>
- </div>
- <div class="checkbox">
- <label>
- <input id="chkRestoreBlockLists" type="checkbox" checked> Block List Cache Files
- </label>
- </div>
- </div>
- </div>
- <p>Restore options:</p>
- <div class="form-group">
- <div style="padding-left: 40px;">
- <div class="checkbox">
- <label>
- <input id="chkDeleteExistingFiles" type="checkbox" checked> Delete Existing Files For Selected Items
- </label>
- </div>
- </div>
- </div>
- </div>
- <p>Warning! The restore process will overwrite existing config files on disk for above selected items and reload new settings including passwords. If you do not remember the password used while creating the backup, you should change the admin password immediately after restoring the backup. Failing to do so will require you to follow the password reset process.</p>
- </div>
- <div class="modal-footer">
- <button id="btnRestoreSettings" type="submit" class="btn btn-primary" data-loading-text="Restoring..." onclick="restoreSettings(); return false;">Restore</button>
- <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
- </div>
- </div>
- </div>
- </div>
- <div id="modalTopStats" class="modal fade" tabindex="-1" role="dialog">
- <div class="modal-dialog" role="document">
- <div class="modal-content">
- <div class="modal-header">
- <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
- <h4 id="lblTopStatsTitle" class="modal-title">Top Stats</h4>
- </div>
- <div class="modal-body">
- <div id="divTopStatsAlert"></div>
- <div id="divTopStatsLoader" style="height: 500px;"></div>
- <div id="divTopStatsData" style="max-height: 500px; overflow-y: auto;">
- <table id="tableTopStatsClients" class="table table-hover">
- <thead>
- <tr>
- <th>Client</th>
- <th>Queries</th>
- </tr>
- </thead>
- <tbody id="tbodyTopStatsClients">
- </tbody>
- <tfoot>
- <tr><th colspan="2" id="tfootTopStatsClients"></th></tr>
- </tfoot>
- </table>
- <table id="tableTopStatsDomains" class="table table-hover">
- <thead>
- <tr>
- <th>Domain</th>
- <th>Hits</th>
- </tr>
- </thead>
- <tbody id="tbodyTopStatsDomains">
- </tbody>
- <tfoot>
- <tr><th colspan="2" id="tfootTopStatsDomains"></th></tr>
- </tfoot>
- </table>
- <table id="tableTopStatsBlockedDomains" class="table table-hover">
- <thead>
- <tr>
- <th>Domain</th>
- <th>Hits</th>
- </tr>
- </thead>
- <tbody id="tbodyTopStatsBlockedDomains">
- </tbody>
- <tfoot>
- <tr><th colspan="2" id="tfootTopStatsBlockedDomains"></th></tr>
- </tfoot>
- </table>
- </div>
- </div>
- <div class="modal-footer">
- <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
- </div>
- </div>
- </div>
- </div>
- <div id="modalDhcpRemoveLease" class="modal fade" tabindex="-1" role="dialog">
- <div class="modal-dialog" role="document">
- <div class="modal-content">
- <div class="modal-header">
- <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
- <h4 class="modal-title">Remove Lease?</h4>
- </div>
- <div class="modal-body">
- <div id="divDhcpRemoveLeaseAlert"></div>
- <p><b>WARNING!</b> Removing a DHCP lease from the server side will NOT remove the allocated IP address from the client side. Make sure that the client assigned this lease is not connected to the network before proceeding.</p>
- <p><b>WARNING!</b> Removing a DHCP lease may cause IP address conflict if the DHCP server assigns the same IP address to a new client while the old client is still connected to the network.</p>
- <p>It is not recommended to remove a DHCP lease when the client is still connected or may connect back later to the network before the lease expires. Use this option only as a last resort.</p>
- <p>
- Follow the recommendations below to avoid such a case that requires removing a DHCP lease:
- <ul>
- <li>Use a shorter lease time such that a dynamically allocated lease expires quickly when the client exits the network.</li>
- <li>Use Exclusions to exclude IP address ranges from being dynamically allocated that you plan to assign manually to some of the devices on the network.</li>
- <li>Use Exclusions to make sure that you have unallocated addresses available in the DHCP scope to be assigned as reserved leases in future.</li>
- <li>Rely less on the assigned IP addresses by configuring a domain name for the DHCP scope and accessing all the devices using their domain names.</li>
- </ul>
- </p>
- <p> </p>
- <p>Are you sure you want to remove the DHCP lease now?</p>
- </div>
- <div class="modal-footer">
- <button id="btnRemoveDhcpLease" type="button" class="btn btn-danger" data-loading-text="Removing...">Remove</button>
- <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
- </div>
- </div>
- </div>
- </div>
- <div id="footer"></div>
- </body>
- </html>
|