Make your Own DNS Server in Python - Part 6 - Flags & Bitwise Operations

Web Development October 4, 2016

In this video we’ll be implementing the header section of the DNS response.

We’ll be creating the flags, and we’ll be learning about how to use Python’s built-in bitwise operators to read and write individual bits from the header section of the DNS query to the DNS response.

Go to for more!

Link to howCode Facebook:
Link to howCode Twitter:
Link to /r/howCode:

Don’t forget to subscribe for more!


Welcome to my blog. My name is Akis Mparekas. I am a freelance web developer from Greece. At the same time I am taking my first steps in game development (unity) and animation (blender). I also create cool stuff, either for work or for fun. When I have time, I write tutorials and I blog.