Dual-comb spectroscopy using a silicon Mach-Zehnder modulator is reported for the first time. First, the properties of frequency combs generated by silicon modulators are assessed in terms of tunability, coherence, and number of lines. Then, taking advantage of the frequency agility of electro-optical frequency combs, a new technique for fine resolution absorption spectroscopy is proposed, named frequency-tuning dual-comb spectroscopy, which combines dual-comb spectroscopy and frequency spacing tunability to measure optical spectra with detection at a unique RF frequency. As a proof of concept, a 24 GHz optical bandwidth is scanned with a 1 GHz resolution.