Update stored hostname for device in database


What would be the SQL command to run to update a stored hostname in the sqlite database? At one point, I had my iPhone's hostname set to ssl.charles for the Charles proxy app. I've since renamed it and cleared it out, but the pihole keeps calling it that.

Would like to reset it back to default so that it picks up the new hostname.


pihole-FTL sqlite3 /etc/pihole/pihole-FTL.db "update network_addresses set name='NEW_NAME' WHERE name='ssl.charles';"

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.