Skip to content

Ne00n/basedflare-gdnsd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

basedflare-gdnsd

useradd cdn -d /opt/basedflare-gdnsd -s /bin/bash
mkdir /opt/basedflare-gdnsd && chown -R cdn:cdn /opt/basedflare-gdnsd/ && cd /opt/;su cdn
git clone https://github.com/Ne00n/basedflare-gdnsd.git && cd basedflare-gdnsd
exit
apt-get install gdnsd sudo python3-pip -y
pip3 install tldextract pymongo redis
echo "cdn ALL=(ALL) NOPASSWD: /usr/bin/gdnsdctl reload-zones" >> /etc/sudoers.d/gdnsd
chgrp -R cdn /etc/gdnsd/ && chmod 775 -R /etc/gdnsd/
cp /opt/basedflare-gdnsd/cdnDNS.service /etc/systemd/system/ && systemctl enable cdnDNS && systemctl start cdnDNS
#you have to edit the config and download the .mmdb file to /etc/gdnsd/geopip/
cp config /etc/gdnsd/
systemctl restart gdnsd

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages