# litedns **Repository Path**: shellpub/litedns ## Basic Information - **Project Name**: litedns - **Description**: 一个超小的DNS服务,支持upstream,支持cache,支持expire,支持HTTP API - **Primary Language**: Go - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-05-28 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # litedns - upstream - cache with expire - redis as backend ## api ``` GET /resolve/:name 200 Content-Type: application/json { "name": "" "A":[ ], "AAAA": [ ], "expire" : "240s" "ttl" : "10s" } SET /resolve/:name Content-Type: application/json { "name": "name" "A":[ ], "AAAA": [ ] "expire" : "120s" "ttl" : "10s" } 200 ``` ## TODO: 1. support `GET /resolve` by upstream 2. compatible with httpdns