I've not used PowerDNS, but from a quick scan of their docs it looks like you just need to run a simple MySQL query to create an A record - an A record is what allows a lookup from hostname to IP address.
INSERT INTO records (domain_id, name, content, type,ttl,prio)
VALUES (1,'www.test.com','199.198.197.196','A',120,NULL);